Baby did the same thing with sleeping. Cosleeping, crib, bassinet, whatever. Did not work. Only place he would sleep is on me. At some point realized hey, when he sleeps on me, he's always sleeping on his belly. Put him on belly in crib, 3 hour nap. He's been sleeping on his belly for the last year, hates it on his back. We got a Levana Snuza (breathing monitor) because, obviously, your child will instantaneously combust if sleeping on belly. Yeah, that lasted for a few weeks until it started giving false alarms every few minutes.
Swing may also work. Carseat usually did (not in the car, me swinging the carseat, getting buff. Driving pissed him off more.)