After any movement, my character rotates to x = 0, y = 0, and z = 0

After any movement, my character rotates to x = 0, y = 0, and z = 0. How can I fix this? Could it be an issue with animations?

My guess is it’s not an issue with animations.

Are you getting any warnings or errors in the console? It’s possible this is an issue with trying to FaceMovmentDirection() when the movement is 0,0

I wrap my FaceMovementDirection() in an if statement, something like this:

if(movement.magnitude>0.01f)

Privacy & Terms