- Home /
Animator and Transform not synchronized
I'm trying to animate my avatar but as soon as I start running with my avatar the transform's position and the avatar's one are different. When I stop the animation the avatar gets "teleported" to the transform's position. In the image below you can clearly see what I mean.
Answer by Shark44 · Mar 20, 2021 at 02:15 PM
Got the answer, it was a problem related to the animation: there were a lot of frames displaying the same state of the animation, creating a delay in the transform's movement.
Answer by toficofi · Mar 20, 2021 at 01:16 PM
Maybe you want to enable Root Motion so the GameObject moves along with the animation?
I've already checked the "Apply root motion" checkbox on the animator, is there any other option to enable?
Your answer
Follow this Question
Related Questions
transform.position not setting position OR animation setting position even though it shouldn't 0 Answers
Issues with copying Y axisrotation of another object 2 Answers
transform.position.x brings up error 1 Answer
Setting transform.position not behaving properly 2 Answers
Animation transform lock 0 Answers