UCharacterMovementComponent::CalcAnimRootMotionVelocity

Calculate velocity from anim root motion.

Choose your operating system:

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