UCharacterMovementComponent::GetFallingLateralAcceleration

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

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