UCharacterMovementComponent::PerformAirControlForPathFollowing

If [ShouldPerformAirControlForPathFollowing()](API\Runtime\Engine\GameFramework\UCharacterMovementComponent\ShouldPerformAir-) returns true, it will update Velocity and Acceleration to air control in the desired Direction for character using path following.

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 void PerformAirControlForPathFollowing
(
    FVector Direction,
    float ZDiff
)

Remarks

If ShouldPerformAirControlForPathFollowing() returns true, it will update Velocity and Acceleration to air control in the desired Direction for character using path following.

Parameters

Parameter

Description

Direction

is the desired direction of movement

ZDiff

is the height difference between the destination and the Pawn's current position

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