UCharacterMovementComponent::HasAnimRootMotion

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

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.

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