Search Issue Tracker

Fixed in 5.4.0

Votes

0

Found in

5.2.0f3

Issue ID

726842

Regression

No

[RootMotion] horizontal and vertical movements are swapped in regards of the root motion

Animation

-

How to reproduce:
1. Open the attached project
2. Open and play blitzer scene
3. Notice that the model is going downward instead of staying on top of the ground plane
4. Select the model and disable Apply Root Motion in the inspector
5. Play again and notice that now it stays on the plane

In the animation file the "Movement" bone has a translation along the y-axis (see the attached screenshots) that should result in a forward movement inside unity.
It seems that unity do not convert z-up model to y-up model when computing the root motion.

Workaround: If root motion is handled by script and localRotation is affected that would prevent from the issue.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.