Character won't rotate properly

Hi @Raildex_,

I had this exact problem when working on my swimming code a few months ago lol. The issue is Gimbal lock and the pitch getting reset.

Here is my solution:
6765c45906bb5c427bb08f03810e0ae5ad0992fd.jpeg

On my setup Im using Control rotation pitch and yaw to drive character rotation. So, I’m constantly checking pitch against a threshold (say 75 degrees). When the character goes past the threshold…

a35afb140fbd116503536501c7f299a2fb077126.jpeg

Switch from Impulse to AddWorldOffset and do a delta location in the Z vector (up) or -Z vector (down).

Try this and play around with the pitch values (75-85 seem to work best for me).

Hope this helps!