- Home /
Glitchy Animation
https://www.youtube.com/watch?v=eQlDGHd6HMw&feature=youtu.be
My animations sort of pull the models back a bit when they go to loop. Does anyone know what's causing this?
The cause is your actual animation. The animation not only animates the leg movement but it have been animated to move ahead within the animation. Basically we loop only leg movement and then we add force in unity so that it makes a illusion as if player is walking on platform.
It's the Raw $$anonymous$$ocap animations for reference.
Is there a way to remove the actual force from the raw mocap data or should I just find a different animation.
Answer by Kali2048 · Dec 26, 2015 at 03:50 AM
The character should not move in your 3d software editor. In 3DSMax you can set your biped to "in place" mode before exporting, there should be something similar in any 3d package. Another solution is to simply delete the root keys that move your character forward, the character should stay at the center of your scene through the animation.
The animations are legacy so I can't delete the root keys (That I know of.)
I opened the raw mocap animations in $$anonymous$$aya and removed the root movements.
Answer by Firedan1176 · Dec 25, 2015 at 10:11 PM
If your animation is raw mocap data, you should:
Disable any scripts that will change the player's position manually (On AI or NavMeshAgents, set the move speed to 0).
Toggle the "Apply Root Motion" on the Animator Controller of your player.
This should apply the root animation motion directly to the transform of those players, so they should walk correctly.
[Let me know if this fixes the problem. And if it does, please accept it as an answer. Thank you!]
Sorry I'm not using an animator. Any other possible solution?
Your answer
Follow this Question
Related Questions
The AnimationClip must be marked as Legacy and loop 1 Answer
Model seperates on loop 1 Answer
Using Legacy Assets with Mecanim/Animator? 0 Answers
Mecanim model imported for legacy asset kit, beginner help plz 2 Answers
Model hands warped on import. 0 Answers