Navigation
API > API/Plugins > API/Plugins/NetworkPredictionExtras
References
| Module | NetworkPredictionExtras |
| Header | /Engine/Plugins/Runtime/NetworkPredictionExtras/Source/NetworkPredictionExtras/Public/CharacterMotionSimulation.h |
| Include | #include "CharacterMotionSimulation.h" |
Syntax
struct FFloorTestResult
Remarks
Data about the floor for walking movement, used by CharacterMovementComponent.
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 | 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. |
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 | SetFromSweep
(
const FHitResult& InHit, |