Module |
|
Header |
/Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/CharacterMotionSimulation.h |
Include |
#include "CharacterMotionSimulation.h" |
struct FFloorTestResult
Data about the floor for walking movement, used by CharacterMovementComponent.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bBlockingHit |
True if there was a blocking hit in the floor test that was NOT in initial penetration. |
|
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. |
|
HitResult |
Hit result of the test that found a floor. |
Name | Description | |
---|---|---|
|
FFloorTestResult() |
Name | Description | ||
---|---|---|---|
|
Clear() |
||
|
float |
GetDistanceToFloor() |
Gets the distance to floor, either LineDist or FloorDist. |
|
IsWalkableFloor() |
Returns true if the floor result hit a walkable surface. |
|
|
SetFromSweep ( |