- Home /
How can I disable root motion during animation play?
Hello! I've imported an animated dragon from an Asset Store. It has a "Take off" animation. When playing it, the dragon moves up.
How can I stop this vertical movement?
What I've already done:
Disabled "Apply root motion" in the animator
Checked "Bake into pose" for "Root Transform Position (Y)"
"Root motion node" was already set to "None", so I didn't change it
But it still moves up both in the animation preview window and in runtime on the scene.
I also tried checking "Loop time" and "Loop pose" boxes. It changed the behaviour: dragon started to lower each time after moving up. But he still moved up during Take-off animation, so I reverted the "Loop time" and "Loop pose" changes.
What I am doing wrong, how to stop it from moving up?
Here's a screenshot of current animation settings:
Answer by MickyX · May 03 at 04:10 PM
Is it actually root motion or is the vertical movement part of the animation? In which case you need to edit the animation and remove the (assuming Z) axis movement.
@MickyX yeah, I had a same thought. But the Animation tab is huge for this one.
Can you please give me a tip on how to find the part, that is responsible for vertical movement?
Wow okay, that's a tough one.
My advice is just based of logic, I'm not massively skilled with animation.
I think if its moving the whole dragon its likely to be on either the root bone or pelvis. I would also suggest it will be one that says Position.
If you can edit look for Y axis changes on one of those bones and try adjusting it to see the outcome
Sorry I can't be of much more help than that.
Your answer
Follow this Question
Related Questions
Smooth transition of position between animations 0 Answers
Moving Character to exact position using animation. 0 Answers
Root position or rotation are controlled by curves error on re activating game object! 1 Answer
how to fix roll animation resets to animation start position 0 Answers
Root Animations are inaccurate 0 Answers