If you loop an animationclip with rootmotion in the timeline it just snaps back to the start position every time it loops. Is there any solution to make the rootmotion relative so the character continues walking forward instead of being reset?.
3 Answers
3when you extend the clip, does it say loop or Hold? if it says loop it might be an issue, you could open a bug for us.
if it says hold , make sure to enable the loop time in the animation itself.
I tried to upload a gif but I cant get it small enough: [https://drive.google.com/open?id=0B65_BPeKQx4rWUthUDlPdWVLY1E][1] The loop flag in the animationclip is set. It also says L1, L2,... in the timeline. Somehow the root even keeps moving while the other bone positions are reset. [1]: https://drive.google.com/open?id=0B65_BPeKQx4rWUthUDlPdWVLY1E
– PeajHi, you can extend the walk cycle clip to make it loop.
Make sure to have enabled the loop parameter in the animation.

Thanks for your reply. I did just that but in my case the character snaps back to the starting point after each Loop. Maybe there is a setting anywhere that I overlooked?
– PeajI had the same issue when using root motion in timeline. My root node position was being transformed in the animation keyframes, but when previewing the animation, the circle underneath the avatar wouldn’t move with the character as compared to a working one where the circle would move with the character. What fixed it is on the animation that would reset position after each loop, I went to the animation window and used curves to key “Animator.motion T.z” (won’t key with dopesheet for some reason) . Now, it loops properly and the circle travels with the character.

Can you share some pics of your Animator and the transition you say you can't see the option? ---------- By itself, if your state does not transition to another state, it will: - Loop if your Animation has turned on Loop time - Stops if your Animation has turned off Loop time So , if you have turned off Loop time , then, the problem is in your animatior or the script controlling the animator. Share it.
– bpaynom