UCharacterMovementComponent::CalcAnimRootMotionVelocity

Calculate velocity from anim root motion.

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 CalcAnimRootMotionVelocity
(
    const FVector & RootMotionDeltaMove,
    float DeltaSeconds,
    const FVector & CurrentVelocity
) const

Remarks

Calculate velocity from anim root motion.

Parameters

Parameter

Description

RootMotionDeltaMove

Change in location from root motion.

DeltaSeconds

Elapsed time

CurrentVelocity

Non-root motion velocity at current time, used for components of result that may ignore root motion.

See Also

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