- Home /
Root Motion and Y-Axis Rotation
I have a 2D Sprite with a Animator and animation clip that is supposed to rotate the sprite around the y-axis. With root motion on, the animation does not run at all. Rotating around the x- or z-axis does work with root motion on. With root motion off, the sprite rotates as expected. I would rather keep root motion on, as I have other movement clips that require it. I already have a script workaround that I can implement to rotate it instantly, with an idea of how to do it gradually. I'd rather control this with an animation clip, though using curves. Is there a fix for this? Thanks!
Answer by evand · May 17, 2017 at 01:31 PM
https://forum.unity3d.com/threads/mecanim-and-y-axis-translation.156596/
I'm having the same problem, above is all I've found so far. You can set the rigidbody2D to kinematic and it fixes it, but can cause other issues.
Your answer
![](https://koobas.hobune.stream/wayback/20220612105100im_/https://answers.unity.com/themes/thub/images/avi.jpg)