Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UAsyncMovementUtils
Description
Tests a move of a component without actually moving it. Returns true if any motion could occur. Detailed blocking hit results are written to OutHit. If not sweeping, full movement will always be allowed even if new blocking overlaps would occur.
| Name | TestMoveComponent_Internal |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/AsyncMovementUtils.h |
| Include Path | #include "MoveLibrary/AsyncMovementUtils.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoveLibrary/AsyncMovementUtils.cpp |
static bool TestMoveComponent_Internal
(
const FMovingComponentSet & MovingComps,
const FVector & StartLocation,
const FVector & TargetLocation,
const FQuat & StartRotation,
const FQuat & TargetRotation,
bool bShouldSweep,
FMoverCollisionParams & CollisionParams,
FHitResult & OutHit
)