Hi guys
Can you spot the problem why the character controller falls behind the walking animation and how to fix it?
the worst part is at the end of each animation cycle the player gets pulled back into the character controller
Hi guys
Can you spot the problem why the character controller falls behind the walking animation and how to fix it?
the worst part is at the end of each animation cycle the player gets pulled back into the character controller
Yep, the issue is that the animation is moving the character’s position. In other words, it’s not a loop. To fix this, you have to modify the animation and make it a loop (keep the character in the same spot so that it looks like they’re walking in place).
Alternatively, you can use root motion:
https://docs.unity3d.com/Manual/RootMotion.html
Root motion moves the character with its animation, not by script. I think Unity’s character controller is compatible, but I’ve never set it up before.
yep that was it. Thank you very much!!