Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UGroundMovementUtils
Description
Tests a potential movement along a walkable surface. Modifies InOutHit with final movement hit data Appends to InOutMoveRecord with any movement substeps Returns the percent of time applied, with 0.0 meaning no movement would occur.
| Name | TestGroundedMoveAlongHitSurface |
| 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 float TestGroundedMoveAlongHitSurface
(
const FMovingComponentSet & MovingComps,
const FVector & OriginalMoveDelta,
const FVector & LocationAtHit,
const FQuat & TargetRotation,
bool bHandleImpact,
float MaxStepHeight,
float MaxWalkSlopeCosine,
FHitResult & InOutHit,
FMovementRecord & InOutMoveRecord
)