Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UMovementUtils
Description
Returns whether MoverComp's Actor would encroach at TestLocation on something that blocks it. If blocked, we'll attempt to find an adjustment and set OutProposedAdjustment accordingly. OutProposedAdjustment will be zero'd if there's no blockage or an adjustment could not be found.
| Name | TestEncroachmentAndAdjust |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/MovementUtils.h |
| Include Path | #include "MoveLibrary/MovementUtils.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoveLibrary/MovementUtils.cpp |
UFUNCTION (BlueprintCallable, Category=Mover)
static bool TestEncroachmentAndAdjust
(
const UMoverComponent * MoverComp,
FVector TestLocation,
FRotator TestRotation,
FVector & OutProposedAdjustment
)