Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCharacterMovementComponent
Description
Calculate velocity from anim root motion.
| Name | CalcAnimRootMotionVelocity |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include Path | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual FVector CalcAnimRootMotionVelocity
(
const FVector & RootMotionDeltaMove,
float DeltaSeconds,
const FVector & CurrentVelocity
) const
Parameters
| Name | Remarks |
|---|---|
| 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
- ConstrainAnimRootMotionVelocity