UCharacterMovementComponent::GetAirControl

Get the air control to use during falling movement.

Choose your operating system:

Windows

macOS

Linux

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

Syntax

virtual FVector GetAirControl
(
    float DeltaTime,
    float TickAirControl,
    const FVector & FallAcceleration
)

Remarks

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().

Returns

Air control to use during falling movement.

Parameters

Parameter

Description

DeltaTime

Time step for the current update.

TickAirControl

Current air control value.

FallAcceleration

Acceleration used during movement.

See Also