Rotating movement rotates the character incorrectly

Hello everyone!
I want to bind the player’s speed to the speed of rotation, but the problem is that when trying to bind the character’s speed to the speed of rotation, it does not make full turns, but as if it gets stuck at some degree and jams. Also for some reason, whichever way I turn while holding down the W (forward) key, it rotates the player in the same direction.


This is what my code looks like.Please tell me what’s wrong.
Thank you all very much!

no idea. but i wonder if that’s a gimbal lock. a quaternion could help, but not sure you can set it like that in the rotating movement.

1 Like

Could you please tell us what it would look like then?
Thx.