Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UGroundMovementUtils
Description
Moves vertically to maintain the minimum distance above the walkable floor. Does nothing and returns false if floor is unwalkable or if already far enough away.
| Name | TryMoveToKeepMinHeightAboveFloor |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/GroundMovementUtils.h |
| Include Path | #include "MoveLibrary/GroundMovementUtils.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoveLibrary/GroundMovementUtils.cpp |
static bool TryMoveToKeepMinHeightAboveFloor
(
const FMovingComponentSet & MovingComps,
FFloorCheckResult & CurrentFloor,
float MaxWalkSlopeCosine,
FMovementRecord & MoveRecord
)