- Home /
Root Motion with Animations in Unity 2018
HI all,
I'm struggling at the moment with using animations to apply root motion to my characters. I have some animations downloaded from Mixamo, which include root motion. When my character plays the animation, the model rig moves as per the animation, but my root game object remains stationary. At the end of the animation, the the rig snaps back to the position of the root game object.
I've been playing with animation import settings, Animator settings, and using a script to force my root game object to follow the rig (bad idea!). I've heard that baking pose positions has been a solution in the past, but I can't find this option in the editor (perhaps it's been removed? Lots of changes these days).
Is this something anyone has dealt with before? Any help would be appreciated! I usually stick to coding so my experience as with animation is sorely lacking :(
@$$anonymous$$otherChurchill
This is not a direct answer - but I've answered a question about what root motion is in gamedev stackexchange - maybe there's something useful for you - I have to underline, that this is my best understanding of how it works:
https://gamedev.stackexchange.com/questions/162853/unity-how-to-disable-animation-root-motion/162856#162856
I appreciate the response! I gave it a read, but it doesn't seem to help my issue. I do have root motion of my character game object, but upon animation end, it returns to the original position ins$$anonymous$$d of continuing relative to where it is now.
Your answer
Follow this Question
Related Questions
Unity Mecanim not applying Mixamo Animation Root motion on XZ 1 Answer
Rotate a box 90 degrees with Root Motion 0 Answers
(Animation) Bones' transforms are gone 1 Answer
Root motion accuracy issue 0 Answers
Lock root motion axis 1 Answer