unreal.FindFloorResult

class unreal.FindFloorResult(blocking_hit=False, walkable_floor=False, line_trace=False, floor_dist=0.0, line_dist=0.0, hit_result=[False, False, 1.0, 0.0, [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], None, None, None, 'None', 0, 0, [0.0, 0.0, 0.0], [0.0, 0.0, 0.0]])

Bases: unreal.StructBase

Data about the floor for walking movement, used by CharacterMovementComponent.

C++ Source:

  • Module: Engine
  • File: CharacterMovementComponent.h

Editor Properties: (see get_editor_property/set_editor_property)

  • blocking_hit (bool): [Read-Only] 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.
  • floor_dist (float): [Read-Only] The distance to the floor, computed from the swept capsule trace.
  • hit_result (HitResult): [Read-Only] Hit result of the test that found a floor. Includes more specific data about the point of impact and surface normal at that point.
  • line_dist (float): [Read-Only] The distance to the floor, computed from the trace. Only valid if bLineTrace is true.
  • line_trace (bool): [Read-Only] 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).
  • walkable_floor (bool): [Read-Only] True if the hit found a valid walkable floor.
blocking_hit

(bool) – [Read-Only] 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.

floor_dist

(float) – [Read-Only] The distance to the floor, computed from the swept capsule trace.

hit_result

(HitResult) – [Read-Only] Hit result of the test that found a floor. Includes more specific data about the point of impact and surface normal at that point.

line_dist

(float) – [Read-Only] The distance to the floor, computed from the trace. Only valid if bLineTrace is true.

line_trace

(bool) – [Read-Only] 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).

walkable_floor

(bool) – [Read-Only] True if the hit found a valid walkable floor.