Problem with Animator and transform.position and physics
I have two animations: Run and Jump. When I modify the transform.position in the jump animation, all the physics on the player stop working: don't recognize collisions and the gravity doesn't affect him I have tried enabling and disabling the Root Motion. When I enable it, the problems disappear and the player do the jump animation, but doesn't jump, he just stay in the same y-position
I found that someone had this problem and solved it: https://forum.unity.com/threads/animator-blocking-movement-why.291340/ But I don't speak english very well so I don't understand what he explain
Answer by exzizt · Mar 27, 2018 at 03:08 AM
Definitely don't implement jumping via animation. Modifying a transform's position directly is not recommended if you are using physics and will cause the issues you're describing.