Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
Include |
#include "GameFramework/CharacterMovementComponent.h" |
struct FFindFloorResult
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 |
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. |
|
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. |
Name | Description | |
---|---|---|
|
FFindFloorResult() |
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. |
|
|
SetFromLineTrace ( |
||
|
SetFromSweep ( |