unreal.NavCorridorParams

class unreal.NavCorridorParams

Bases: StructBase

Nav Corridor Params

C++ Source:

  • Plugin: NavCorridor

  • Module: NavCorridor

  • File: NavCorridor.h

Editor Properties: (see get_editor_property/set_editor_property)

  • large_sector_threshold (float): [Read-Write] Simplification is skipped if two neighbour sectors combined are longer than this. This ensures that long sectors do not lose volume due to simplification.

  • obstacle_taper_angle (float): [Read-Write] How much the outer edges of obstacles are tapered out. This prevents small sectors and local traps.

  • simplify_concave_portals (bool): [Read-Write] If true do concave portals simplification.

  • simplify_convex_portals (bool): [Read-Write] If true do convex portals simplification.

  • simplify_edge_threshold (float): [Read-Write] Corridor edge max simplification distance.

  • simplify_flip_portals (bool): [Read-Write] If true do flip portals simplification.

  • small_sector_threshold (float): [Read-Write] Attempt to remove sectors narrower than this from the corridor.

  • width (float): [Read-Write] Width of the corridor to build