Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UGroundMovementUtils
Description
Tests potential up-and-over movement of a component to overcome a blocking obstacle hit, such as moving up steps or slope. Sets OutFloorTestResult with final floor info (optional) Sets OutFinalLocation with final component location Appends to InOutMoveRecord with any movement substeps Returns whether any movement was possible.
| Name | TestMoveToStepOver |
| 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 TestMoveToStepOver
(
const FMovingComponentSet & MovingComps,
const FVector & GravDir,
float MaxStepHeight,
float MaxWalkSlopeCosine,
bool bUseFlatBaseForFloorChecks,
float FloorSweepDistance,
const FVector & MoveDelta,
const FQuat & Rotation,
const FHitResult & MoveHitResult,
const FFloorCheckResult & CurrentFloor,
bool bIsFalling,
FOptionalFloorCheckResult * OutFloorTestResult,
FVector & OutFinalLocation,
FMovementRecord & InOutMoveRecord
)