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