Animation and CharacterController in Unity3D

Good day everyone. I’m currently working on a 2.5D platformer in Unity and need to make a ladder. There are no problems with the ascent itself and the interaction with the stairs, there is a problem with the animation, which turns on at the end of the ascent to the stairs. Namely, it plays perfectly and moves the character model to the correct position, but at this time the CharacterController component (which includes the collider) remains in place (screenshot of the Unity window below).


Because of this, after the animation plays, the character returns to the same point on the stairs. The question is, is it possible to make the CharacterController move with the animation? Or are there some workarounds. (Animation options below).

Thank you for your help!

1 Answer

1

Problem solved by checking “Apply Root Motion” mark in Animator.