/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h
Constrain components of root motion velocity that may not be appropriate given the current movement mode (e.g. when falling Z may be ignored).
virtual FVector ConstrainAnimRootMotionVelocity ( const FVector & RootMotionVelocity, const FVector & CurrentVelocity ) const