Where does movement come from now?
animator.applyRootMotion = true;
- The animation clip
- The physics engine
- The input handler
- The navmesh agent
Root motion drives the transform from the baked animation instead of code.
Play Game Dev ▸
animator.applyRootMotion = true;