浏览代码

Merge pull request #6584 from smix8/doc_navregion_choice_paralysis_4.x

Fix NavigationRegion choice paralysis
Max Hilbrunner 2 年之前
父节点
当前提交
bbfc8ac054
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tutorials/navigation/navigation_using_navigationregions.rst

+ 1 - 1
tutorials/navigation/navigation_using_navigationregions.rst

@@ -12,7 +12,7 @@ and :ref:`NavigationRegion3D<class_NavigationRegion3D>` respectively.
 Individual NavigationRegions upload their 2D NavigationPolygon or 3D NavigationMesh resource data to the NavigationServer.
 The NavigationServer map turns this information into a combined navigation map for pathfinding.
 
-To create a navigation region using the SceneTree add a ``NavigationRegion3D`` or ``NavigationRegion3D`` node to the scene.
+To create a navigation region using the SceneTree add a ``NavigationRegion2D`` or ``NavigationRegion3D`` node to the scene.
 All regions require a navigationmesh resource to function. See :ref:`doc_navigation_using_navigationmeshes` to learn how to create and apply navigationmeshes.
 
 NavigationRegions will automatically push ``global_transform`` changes to the region on the NavigationServer which makes them suitable for moving platforms.