Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/UFloorQueryUtils
Description
Return true if the 2D distance to the impact point is inside the edge tolerance (CapsuleRadius minus a small rejection threshold). Useful for rejecting adjacent hits when finding a floor or landing spot.
| Name | IsWithinEdgeTolerance |
| Type | function |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/FloorQueryUtils.h |
| Include Path | #include "MoveLibrary/FloorQueryUtils.h" |
| Source | /Engine/Plugins/Experimental/Mover/Source/Mover/Private/MoveLibrary/FloorQueryUtils.cpp |
static bool IsWithinEdgeTolerance
(
const FVector & CapsuleLocation,
const FVector & TestImpactPoint,
float CapsuleRadius,
const FVector & UpDirection
)