Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UGroundMovementUtils
Description
Attempts to move a component along a surface in the walking mode. Returns the percent of time applied, with 0.0 meaning no movement occurred. Note: This modifies the normal and calls UMovementUtils::TryMoveToSlideAlongSurface
| Name | TryWalkToSlideAlongSurface |
| 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 TryWalkToSlideAlongSurface
(
const FMovingComponentSet & MovingComps,
const FVector & Delta,
float PctOfDeltaToMove,
const FQuat Rotation,
const FVector & Normal,
FHitResult & Hit,
bool bHandleImpact,
FMovementRecord & MoveRecord,
float MaxWalkSlopeCosine,
float MaxStepHeight
)