Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UGroundMovementUtils
Description
Tests potential vertical movement of a component to float a bit above a walkable floor. Intended for use while moving along ground surfaces. Modifies InOutCurrentFloor to account for adjustments, if any was made Appends to InOutMoveRecord with any movement substeps Returns new location, including any adjustment if it was made
| Name | TestMoveToKeepMinHeightAboveFloor |
| 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 |
UFUNCTION (BlueprintCallable, Category=Mover)
static FVector TestMoveToKeepMinHeightAboveFloor
(
const FMovingComponentSet & MovingComps,
const FVector & Location,
const FQuat & Rotation,
float MaxWalkSlopeCosine,
FFloorCheckResult & InOutCurrentFloor,
FMovementRecord & InOutMoveRecord
)