UCharacterMovementComponent::ConstrainAnimRootMotionVelocity

Constrain components of root motion velocity that may not be appropriate given the current movement mode (e.g. when falling Z may be ignored).

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h

Include

#include "GameFramework/CharacterMovementComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp

Syntax

virtual FVector ConstrainAnimRootMotionVelocity
(
    const FVector & RootMotionVelocity,
    const FVector & CurrentVelocity
) const

Remarks

Constrain components of root motion velocity that may not be appropriate given the current movement mode (e.g. when falling Z may be ignored).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss