|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Data about the floor for walking movement, used by CharacterMovementComponent. More...
Public Member Functions | |
Functions | |
| bool | GetbBlockingHit () const |
| True if there was a blocking hit in the floor test that was NOT in initial penetration. The HitResult can give more info about other circumstances. | |
| bool | GetbWalkableFloor () const |
| True if the hit found a valid walkable floor. | |
| bool | GetbLineTrace () const |
| 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). | |
| FFindFloorResult & | opAssign (FFindFloorResult Other) |
Public Attributes | |
CharacterFloor | |
| float32 | LineDist |
| The distance to the floor, computed from the trace. Only valid if bLineTrace is true. | |
| FHitResult | HitResult |
| Hit result of the test that found a floor. Includes more specific data about the point of impact and surface normal at that point. | |
| float32 | FloorDist |
| The distance to the floor, computed from the swept capsule trace. | |
Variables | |
| const bool | bWalkableFloor |
| const bool | bLineTrace |
| const bool | bBlockingHit |
Data about the floor for walking movement, used by CharacterMovementComponent.
| bool GetbBlockingHit | ( | ) | const |
True if there was a blocking hit in the floor test that was NOT in initial penetration. The HitResult can give more info about other circumstances.
| bool GetbLineTrace | ( | ) | const |
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).
| bool GetbWalkableFloor | ( | ) | const |
True if the hit found a valid walkable floor.
| FFindFloorResult & opAssign | ( | FFindFloorResult | Other | ) |
| const bool bBlockingHit |
| const bool bLineTrace |
| const bool bWalkableFloor |
| float32 FloorDist |
The distance to the floor, computed from the swept capsule trace.
| FHitResult HitResult |
Hit result of the test that found a floor. Includes more specific data about the point of impact and surface normal at that point.
| float32 LineDist |
The distance to the floor, computed from the trace. Only valid if bLineTrace is true.