Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > UCharacterMovementComponent
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 |
virtual void PerformAirControlForPathFollowing
&40;
FVector Direction,
float ZDiff
&41;
Remarks
If ShouldPerformAirControlForPathFollowing() returns true, it will update Velocity and Acceleration to air control in the desired Direction for character using path following.
Parameters
Name | Description |
---|---|
Direction | is the desired direction of movement |
ZDiff | is the height difference between the destination and the Pawn's current position |