UCharacterMovementComponent::GetAirControl

Get the air control to use during falling movement.

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss