UCharacterMovementComponent::HasAnimRootMotion

Returns true if we have Root Motion from animation to use in [PerformMovement()](API\Runtime\Engine\GameFramework\UCharacterMovementComponent\PerformMovement) physics.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "GameFramework/CharacterMovementComponent.h"

Syntax

bool HasAnimRootMotion() const

Remarks

Returns true if we have Root Motion from animation to use in PerformMovement() physics. Not valid outside of the scope of that function. Since RootMotion is extracted and used in it.