Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/MoveLibrary > API/Plugins/Mover/MoveLibrary/UGroundMovementUtils
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/GroundMovementUtils.h |
| Include | #include "MoveLibrary/GroundMovementUtils.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoveLibrary/GroundMovementUtils.cpp |
UFUNCTION (BlueprintCallable, Category=Mover)
static float TryWalkToSlideAlongSurface
(
USceneComponent * UpdatedComponent,
UPrimitiveComponent * UpdatedPrimitive,
UMoverComponent * MoverComponent,
const FVector & Delta,
float PctOfDeltaToMove,
const FQuat Rotation,
const FVector & Normal,
FHitResult & Hit,
bool bHandleImpact,
FMovementRecord & MoveRecord,
float MaxWalkSlopeCosine,
float MaxStepHeight
)
Remarks
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