Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UCharacterMovementComponent
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 |
virtual FVector CalcAnimRootMotionVelocity
(
const FVector & RootMotionDeltaMove,
float DeltaSeconds,
const FVector & CurrentVelocity
) const
Remarks
Calculate velocity from anim root motion.
Parameters
| Name | 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. |