UCharacterMovementComponent::NewFallVelocity

Compute new falling velocity from given velocity and gravity.

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 NewFallVelocity
(
    const FVector & InitialVelocity,
    const FVector & Gravity,
    float DeltaTime
) const

Remarks

Compute new falling velocity from given velocity and gravity. Applies the limits of the current Physics Volume's TerminalVelocity.

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