Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCharacterMovementComponent
Description
Get the air control to use during falling movement. Given an initial air control (TickAirControl), applies the result of BoostAirControl(). This function is used internally by GetFallingLateralAcceleration().
| Name | GetAirControl |
| 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 GetAirControl
(
float DeltaTime,
float TickAirControl,
const FVector & FallAcceleration
)
Air control to use during falling movement.
Parameters
| Name | Remarks |
|---|---|
| DeltaTime | Time step for the current update. |
| TickAirControl | Current air control value. |
| FallAcceleration | Acceleration used during movement. |
See Also
-
AirControl
-
LimitAirControl()
-
GetFallingLateralAcceleration()