Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/MoveLibrary > API/Plugins/Mover/MoveLibrary/UMovementUtils
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/MovementUtils.h |
| Include | #include "MoveLibrary/MovementUtils.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoveLibrary/MovementUtils.cpp |
UFUNCTION (BlueprintCallable, Category=Mover)
static float TryMoveToSlideAlongSurface
(
USceneComponent * UpdatedComponent,
UPrimitiveComponent * UpdatedPrimitive,
UMoverComponent * MoverComponent,
const FVector & Delta,
float PctOfDeltaToMove,
const FQuat Rotation,
const FVector & Normal,
FHitResult & Hit,
bool bHandleImpact,
FMovementRecord & MoveRecord
)
Remarks
Attempts to move a component along a surface. Returns the percent of time applied, with 0.0 meaning no movement occurred.