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.

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 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