unreal.FloorCheckSettings

class unreal.FloorCheckSettings(floor_sweep_distance: float = 0.0, max_walk_slope_cosine: float = 0.0, use_flat_base_for_floor_checks: bool = False, perch_radius_threshold: float = 0.0)

Bases: StructBase

Settings that control how floor checks are performed

C++ Source:

  • Plugin: Mover

  • Module: Mover

  • File: FloorQueryUtils.h

Editor Properties: (see get_editor_property/set_editor_property)

  • floor_sweep_distance (float): [Read-Write] Max distance to scan for floor surfaces under a Mover actor

  • max_walk_slope_cosine (float): [Read-Write] Walkable slope angle, represented as cosine(max slope angle) for performance reasons

  • perch_radius_threshold (float): [Read-Write] Distance from the capsule edge within which floor surface contact is rejected for perching purposes

  • use_flat_base_for_floor_checks (bool): [Read-Write] If true, use a flat base shape for floor checks instead of a rounded capsule bottom

property floor_sweep_distance: float

[Read-Write] Max distance to scan for floor surfaces under a Mover actor

Type:

(float)

property max_walk_slope_cosine: float

[Read-Write] Walkable slope angle, represented as cosine(max slope angle) for performance reasons

Type:

(float)

property perch_radius_threshold: float

[Read-Write] Distance from the capsule edge within which floor surface contact is rejected for perching purposes

Type:

(float)

property use_flat_base_for_floor_checks: bool

[Read-Write] If true, use a flat base shape for floor checks instead of a rounded capsule bottom

Type:

(bool)