How to fix root motion animation rotation?

I have some animations which rotates the player by some amount. I want to fix the rotation so that the player always faces foward as in the first screenshot (so the animation should not change the character’s overall look direction). When I turn on the root motion and preview from the animation window, I get the fixed foward-looking player. However, regardless of whether I turn on or off the root motion, I still get the extra player rotation as in the second screenshot if I hit play.

image
image

This is my current settings of the animation.
image

Deleting the Root Q property of the animation makes no difference.
image

This is the hierarchy of the character.
image

Does anyone have any clue which part I am missing?
Thank you.

Set Root Transform Rotation to Original, not Body Orientation. You can see the forward arrow (blue) is pointed straight out of his hips because that’s the body’s orientation, which is not what you want in this case. I typically also set Position Y and Position XZ to the same settings.

Thank you! That was a quick fix :blush:

1 Like