summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorjfons <joan.fonssanchez@gmail.com>2019-10-16 11:33:47 +0200
committerjfons <joan.fonssanchez@gmail.com>2019-10-16 12:01:10 +0200
commit298bd3f88a42c57bad4a793542d8f843f889a75b (patch)
treedb1be36c6a1fc46a31299ad8f2fb2215c62ca040 /doc
parenta1033aea51515cd5f831cedf9834ea376200356a (diff)
Add option to create navmesh from objects in group
Adds a new NavigationMesh property to select which objects will be taken into account for the generation. By default it will use all the NavigationMeshInstance children to keep compatibility. The new modes allow to build the NavigationMesh from all the nodes belonging to a specific group, and optionally include their children too.
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/NavigationMesh.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/NavigationMesh.xml b/doc/classes/NavigationMesh.xml
index f6c7a7d1b5..6528704bb5 100644
--- a/doc/classes/NavigationMesh.xml
+++ b/doc/classes/NavigationMesh.xml
@@ -107,6 +107,10 @@
</member>
<member name="geometry/parsed_geometry_type" type="int" setter="set_parsed_geometry_type" getter="get_parsed_geometry_type" default="0">
</member>
+ <member name="geometry/source_geometry_mode" type="int" setter="set_source_geometry_mode" getter="get_source_geometry_mode" default="0">
+ </member>
+ <member name="geometry/source_group_name" type="String" setter="set_source_group_name" getter="get_source_group_name">
+ </member>
<member name="polygon/verts_per_poly" type="float" setter="set_verts_per_poly" getter="get_verts_per_poly" default="6.0">
</member>
<member name="region/merge_size" type="float" setter="set_region_merge_size" getter="get_region_merge_size" default="20.0">