Problem with Rigid Body Rotation
Hello. I'm pretty new to Unity and I'm trying to make a simple 3rd person game. I have the movement all set up, with animations ( I move my character with rigidBody.AddForce).
The camera moves just fine, and the player rotates to the direction the camera is also facing. However, when I try to move the player, it sort of slides and doesn't walk to the movement I want (for example I want him to move vertically and he moves horizontally).
I tried to increase the drag on the inspector, tried to use transform or rigidbody.velocity to move the player instead, but it still doesn't work!
Do you have any idea why the movement can be affected by the camera's rotation?
Here is a clip of the player moving and sliding through the terrain: https://we.tl/t-Of54mBoult
Thank you for your help in advance
[1]: /storage/temp/193682-imagem-2022-03-09-185741.png
Your answer
Follow this Question
Related Questions
My player doesn't rotate at the same time with the camera. 0 Answers
Should moving cameras have rigidbodies? 0 Answers
When attaching my custom camera script camera shakes when player starts to move fast. 1 Answer
Oribtal Camera Movement with Rigidbody Movement 0 Answers
getting Jittery movement on camera when player rotating and moving in same time 0 Answers