- Home /
The question is answered, right answer was accepted
How can I get a transform to follow an animated transform without stuttering?
I have this game where you move along a path made of tiles. Some of these tiles are animated moving back and forth. When you go on the tile, the player transform should move with it.
Right now I am setting the player's transform parent to the animated transform. It works, but I get stuttering. Is it due to update and animation being called at different times? How can I resolve this?
Edit:
Turns out it was the camera following script that needed to be updated. Problem solved.
Answer by HappiiGamer · Oct 23, 2019 at 12:40 PM
Try to update the player using LateUpdate(), this method is called after the Animation.
Follow this Question
Related Questions
Mecanim blend moves character? 1 Answer
How to move object from existing position to new position and change its animation? 1 Answer
Unity Multiplayer - Animations - mesh subobject movements conveyed 1 Answer
What is causing my attack animation to be in a different position from my idle/run animation? 0 Answers
Animator Editor adding unwanted curves 0 Answers