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 GetFallingLateralAcceleration
(
float DeltaTime
)
Remarks
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(). Acceleration to use during falling movement.
Parameters
| Name | Description |
|---|---|
| DeltaTime | Time step for the current update. |