unreal.NavDataConfig

class unreal.NavDataConfig(can_crouch: bool = False, can_jump: bool = False, can_walk: bool = False, can_swim: bool = False, can_fly: bool = False, agent_radius: float = 0.0, agent_height: float = 0.0, agent_step_height: float = 0.0, nav_walking_search_height_scale: float = 0.0, preferred_nav_data: SoftClassPath = Ellipsis, name: Name = 'None', color: Color = Ellipsis, default_query_extent: Vector = Ellipsis, nav_data_class: Class = Ellipsis)

Bases: NavAgentProperties

Nav Data Config

C++ Source:

  • Module: Engine

  • File: NavigationTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • agent_height (float): [Read-Write] Agent Height: Total height of the capsule used for navigation/pathfinding.

  • agent_radius (float): [Read-Write] Agent Radius: Radius of the capsule used for navigation/pathfinding.

  • agent_step_height (float): [Read-Write] Agent Step Height: Step height to use, or -1 for default value from navdata’s config.

  • can_crouch (bool): [Read-Write] Can Crouch: If true, this Pawn is capable of crouching.

  • can_fly (bool): [Read-Write] Can Fly: If true, this Pawn is capable of flying.

  • can_jump (bool): [Read-Write] Can Jump: If true, this Pawn is capable of jumping.

  • can_swim (bool): [Read-Write] Can Swim: If true, this Pawn is capable of swimming or moving through fluid volumes.

  • can_walk (bool): [Read-Write] Can Walk: If true, this Pawn is capable of walking or moving on the ground.

  • color (Color): [Read-Write] Color: Color used to represent this agent in the editor and for debugging

  • default_query_extent (Vector): [Read-Write] Default Query Extent: Rough size of this agent, used when projecting unto navigation mesh

  • name (Name): [Read-Write] Name: Internal/debug name of this agent

  • nav_data_class (Class): [Read-Write] Nav Data Class: Class to use when spawning navigation data instance

  • nav_walking_search_height_scale (float): [Read-Write] Nav Walking Search Height Scale: Scale factor to apply to height of bounds when searching for navmesh to project to when nav walking

  • preferred_nav_data (SoftClassPath): [Read-Write] Preferred Nav Data: Type of navigation data used by agent, null means “any”

property color: Color

[Read-Write] Color: Color used to represent this agent in the editor and for debugging

Type:

(Color)

property default_query_extent: Vector

[Read-Only] Default Query Extent: Rough size of this agent, used when projecting unto navigation mesh

Type:

(Vector)

property name: Name

[Read-Write] Name: Internal/debug name of this agent

Type:

(Name)

property nav_data_class: Class

[Read-Write] Nav Data Class: Class to use when spawning navigation data instance

Type:

(Class)

property navigation_data_class_name: Class

‘navigation_data_class_name’ was renamed to ‘nav_data_class’.

Type:

deprecated