- Home /
How can I apply vertical Root Motion on an object with a dynamic Rigidbody2D?
I am trying to use Root Motion to move an object in unity, however when I attempt to change the Y transform with the animation it does nothing. If i remove the rigidboy2D or set it to Kinematic the root motion works like expected, but I need gravity and collisions so that is probably not an option. I have created a scene that demonstrates my problem: https://drive.google.com/file/d/1pi6mVMSEHvDYtBk5dRteSKnRxTwNSwWe/view?usp=sharing
I have tried to search for this for a long time but found no solution, the closest i found was this post: https://answers.unity.com/questions/1452035/vertical-root-motion-and-rigidbody-character-contr.html
But when i did this my problem persisted, and I did not notice any changes in the Y value whatsoever. I have tried to set gravity scale to 0 but that does not work either.
Your answer
Follow this Question
Related Questions
animator doesn't change transform 0 Answers
How to set root movement to in place animations in Blender? 0 Answers
Animator and Rigidbody2D Conflicting. Help~ 1 Answer
Mecanim x and z plane root motion not working when importing .fbx, but works with .blend 2 Answers
Animators deltaPosition is (0,0,0) when using override layers above root motion animation 2 Answers