The character facing always snapped back to forward z-axis every time back to idle animation

I am currently making a third person controller using blend tree in Unity, and I faced a problem which each time my animation back to idle animation, it snaps the character back to z-forward, shown in the video below. Any solutions I can do to solve this issue?

2 Answers

2

This looks like a problem in your script, not your animations or AnimatorController. I’m assuming you’re setting the character’s y rotation based on the movement input and when not moving, it’s defaulting to Vector3.zero which is where the issue probably lies.

Hi @dannyyeap922 ,

Step 1: inspect animation import settings of issue causing animation in inpector tab. Compare below settings to other which you use.

Maybe this rotation settings are diffrent from rest.

Step: Inpect Code, if had troubles maybe consider droping bellow.

Hope will do, let me know bellow.