Navigation
API > API/Plugins > API/Plugins/Mover > API/Plugins/Mover/MoveLibrary
References
| Module | Mover |
| Header | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/FloorQueryUtils.h |
| Include | #include "MoveLibrary/FloorQueryUtils.h" |
Syntax
USTRUCT (BlueprintType )
struct FFloorCheckResult
Remarks
Data about the floor for walking movement, used by Mover simulations
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bBlockingHit | True if there was a blocking hit in the floor test that was NOT in initial penetration. | |
| uint32: 1 | bLineTrace | True if the hit found a valid walkable floor using a line trace (rather than a sweep test, which happens when the sweep test fails to yield a walkable surface). | |
| uint32: 1 | bWalkableFloor | True if the hit found a valid walkable floor. | |
| float | FloorDist | The distance to the floor, computed from the swept capsule trace. | |
| FHitResult | HitResult | Hit result of the test that found a floor. | |
| float | LineDist | The distance to the floor, computed from the trace. Only valid if bLineTrace is true. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clear () |
||
| float | Gets the distance to floor, either LineDist or FloorDist. | ||
| bool | Returns true if the floor result hit a walkable surface. | ||
| void | SetFromLineTrace
(
const FHitResult& InHit, |
Sets the passed in hit result with data from the line trace | |
| void | SetFromSweep
(
const FHitResult& InHit, |
Sets the passed in hit result with data from the floor Sweep |