Root motion not applied when capsule component's collision is disabled

I’m working on a climbing system. When my character is getting on top of a ledge and climbs up, I need to disabled capsule collision. However when I disable capsule collision using SetActorEnable Collision, the character plays the animation in place, so root motion is no longer applied.

I’m using UE 4.11

Is his a bug or by design? Any help would be appreciated.

Perhaps you are seeing the clamping of any vertical root motion.

To move with vertical root motion, CharacterMovementMode must be Flying instead of Walking

Thank you. This was indeed the problem…i set the movement mode back to walking to early at the beginning of the anim instead at the end.