Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCharacterMovementComponent
Description
Get the lateral acceleration to use during falling movement. The Z component of the result is ignored. Default implementation returns current Acceleration value modified by GetAirControl(), with Z component removed, with magnitude clamped to GetMaxAcceleration(). This function is used internally by PhysFalling().
| Name | GetFallingLateralAcceleration |
| 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 GetFallingLateralAcceleration
(
float DeltaTime
)
Acceleration to use during falling movement.
Parameters
| Name | Remarks |
|---|---|
| DeltaTime | Time step for the current update. |