Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UGroundMovementUtils
Description
Tests potential movement of a component up/down to adjust to a walkable floor. Intended for use while performing ground movement. 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 | TestMoveToAdjustToFloor |
| 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 TestMoveToAdjustToFloor
(
const FMovingComponentSet & MovingComps,
const FVector & Location,
const FQuat & Rotation,
float MaxWalkSlopeCosine,
FFloorCheckResult & InOutCurrentFloor,
FMovementRecord & InOutMoveRecord
)