- Home /
Root animation not affecting y-position (2D)
I have a player character with an attached 2D rigidbody (y-position isn't frozen) and an animator controller that applies root motion. I also have an animation that changes the position of the character in the x and y direction (Player jumping over an object in a very specific path). Currently only the x-axis displacement is showing up in the game. How do I get the y-axis displacement to show up in the game?
Answer by zakyrion · Jun 30, 2015 at 01:01 PM
If your GameObject have Rigidbody2d, you need set this Rigidbody as isKinematic
Answer by Jeff-Rosenberg · Sep 19, 2015 at 04:47 PM
Resolved this in another question here: http://answers.unity3d.com/questions/922103/unity-5-apply-root-motion-not-affecting-y-in-2d.html#answer-1069035
Your answer
![](https://koobas.hobune.stream/wayback/20220613201115im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Mecan and root rotation in X, Z axis (pitch and roll) 2 Answers
Is it possible to change root motion animations to in place? 3 Answers
Using root motion scripting for specific animations 1 Answer
MecAnim Root Motion - How To Prevent It 2 Answers
When Root Motion anims reset character position, collision objects are ignored 1 Answer