UCharacterMovementComponent::GetFallingLateralAcceleration

Get the lateral acceleration 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 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().

Returns

Acceleration to use during falling movement.

Parameters

Parameter

Description

DeltaTime

Time step for the current update.