Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UCharacterMovementComponent
Description
If ShouldPerformAirControlForPathFollowing() returns true, it will update Velocity and Acceleration to air control in the desired Direction for character using path following.
| Name | PerformAirControlForPathFollowing |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
| Include Path | #include "GameFramework/CharacterMovementComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual void PerformAirControlForPathFollowing
(
FVector Direction,
float ZDiff
)
Parameters
| Name | Remarks |
|---|---|
| Direction | is the desired direction of movement |
| ZDiff | is the height difference between the destination and the Pawn's current position |
See Also
- RequestDirectMove()