瀏覽代碼

Clarify NavigationServer created regions

Clarify that NavigationServer create navigation regions do not join a navigation map automatically like a NavigationRegion node would. The server API created regions need a manual map assignment with region_set_map().
smix8 2 年之前
父節點
當前提交
9b190a7254
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      tutorials/navigation/navigation_using_navigationregions.rst

+ 4 - 2
tutorials/navigation/navigation_using_navigationregions.rst

@@ -34,9 +34,9 @@ Regions can be enabled / disabled and if disabled will not contribute to future
 Creating new navigation regions
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-New navigation regions will automatically register to the default world navigation map.
+New NavigationRegion nodes will automatically register to the default world navigation map for their 2D/3D dimension.
 
-The region RID can be obtained from NavigationRegion Nodes with ``get_region_rid()``.
+The region RID can then be obtained from NavigationRegion Nodes with ``get_region_rid()``.
 
 .. tabs::
  .. code-tab:: gdscript GDScript
@@ -47,6 +47,8 @@ The region RID can be obtained from NavigationRegion Nodes with ``get_region_rid
 
 New regions can also be created with the NavigationServer API and added to any existing map.
 
+If regions are created with the NavigationServer API directly they need to be assigned a navigation map manually.
+
 .. tabs::
  .. code-tab:: gdscript GDScript