- Home /
Character lift off the ground gradually during a running animation
I have a marine model used in my start project, which will uncontrollably lift off the ground when running. I set up a animator controller that contains only a running animation. Here is about several seconds after playing:
Is this a problem of animation or something else? I did nothing except let it in a running state which have a running animation attached. Unity 4.3.4, using avatar.
And if it is a problem of animation, how do I fix this? By simply calibrating the character to origin is not preferred, because the animation do need a little shaking.
Answer by Dblfstr · Mar 06, 2014 at 02:58 PM
Could be a number of things. Have you unchecked "apply root motion" on the animator component of your gameobject?
No, the option is checked. Note that other animations like idle, sprint works fine. And the capsule collider of Character Controller is not moved, still at ground with the soldier out of it.
So, when apply root motion is checked, during moving animations, the character will slowly move up. Uncheck it, and see what happens.
By the way, using general ins$$anonymous$$d of humanoid as the animation type in the Rig
tab will fix this.