Welcome to the Godot Reference Fork and the Godot Proposals Fork alternatives. Why?

NavigationMesh

0 0 vote
Article Rating

Inherits: Resource < Reference < Object

Constants

  • SAMPLE_PARTITION_WATERSHED = 0
  • SAMPLE_PARTITION_MONOTONE = 1
  • SAMPLE_PARTITION_LAYERS = 2
  • PARSED_GEOMETRY_MESH_INSTANCES = 0
  • PARSED_GEOMETRY_STATIC_COLLIDERS = 1
  • PARSED_GEOMETRY_BOTH = 2

Property Descriptions

Default2.0
Setterset_agent_height(value)
Getterget_agent_height()

Default0.9
Setterset_agent_max_climb(value)
Getterget_agent_max_climb()

Default45.0
Setterset_agent_max_slope(value)
Getterget_agent_max_slope()

Default0.6
Setterset_agent_radius(value)
Getterget_agent_radius()

Default0.2
Setterset_cell_height(value)
Getterget_cell_height()

Default0.3
Setterset_cell_size(value)
Getterget_cell_size()

  • float detail/sample_distance
Default6.0
Setterset_detail_sample_distance(value)
Getterget_detail_sample_distance()

  • float detail/sample_max_error
Default1.0
Setterset_detail_sample_max_error(value)
Getterget_detail_sample_max_error()

Default1.3
Setterset_edge_max_error(value)
Getterget_edge_max_error()

Default12.0
Setterset_edge_max_length(value)
Getterget_edge_max_length()

  • bool filter/filter_walkable_low_height_spans
Defaultfalse
Setterset_filter_walkable_low_height_spans(value)
Getterget_filter_walkable_low_height_spans()

  • bool filter/ledge_spans
Defaultfalse
Setterset_filter_ledge_spans(value)
Getterget_filter_ledge_spans()

  • bool filter/low_hanging_obstacles
Defaultfalse
Setterset_filter_low_hanging_obstacles(value)
Getterget_filter_low_hanging_obstacles()

  • int geometry/collision_mask
Setterset_collision_mask(value)
Getterget_collision_mask()

  • int geometry/parsed_geometry_type
Default0
Setterset_parsed_geometry_type(value)
Getterget_parsed_geometry_type()

  • int geometry/source_geometry_mode
Default0
Setterset_source_geometry_mode(value)
Getterget_source_geometry_mode()

  • String geometry/source_group_name
Setterset_source_group_name(value)
Getterget_source_group_name()

  • float polygon/verts_per_poly
Default6.0
Setterset_verts_per_poly(value)
Getterget_verts_per_poly()

Default20.0
Setterset_region_merge_size(value)
Getterget_region_merge_size()

Default8.0
Setterset_region_min_size(value)
Getterget_region_min_size()

  • int sample_partition_type/sample_partition_type
Default0
Setterset_sample_partition_type(value)
Getterget_sample_partition_type()

Method Descriptions


  • void clear_polygons ( )

  • void create_from_mesh ( Mesh mesh )

  • bool get_collision_mask_bit ( int bit ) const


  • int get_polygon_count ( ) const


  • void set_collision_mask_bit ( int bit, bool value )

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x