浏览代码

Update navigation page (3.5)

skyace65 3 年之前
父节点
当前提交
8ca560ec81
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6 5
      tutorials/navigation/real_time_navigation_3d.rst

+ 6 - 5
tutorials/navigation/real_time_navigation_3d.rst

@@ -10,7 +10,7 @@ Pathfinding in a 3D environment is crucial for many games, it's commonly
 how non directly controlled characters or entities find their way around
 how non directly controlled characters or entities find their way around
 an environment. Godot provides several nodes for this purpose:
 an environment. Godot provides several nodes for this purpose:
 
 
--  :ref:`Navigation<class_Navigation>`
+-  :ref:`Navigation<class_Navigation>` (deprecated)
 -  :ref:`NavigationMeshInstance<class_NavigationMeshInstance>`
 -  :ref:`NavigationMeshInstance<class_NavigationMeshInstance>`
 -  :ref:`NavigationAgent<class_NavigationAgent>`
 -  :ref:`NavigationAgent<class_NavigationAgent>`
 -  :ref:`NavigationObstacle<class_NavigationObstacle>`
 -  :ref:`NavigationObstacle<class_NavigationObstacle>`
@@ -23,9 +23,8 @@ the physics engine. It's comprised of navigation regions, these regions
 define parts of the world that can be navigated around by navigation
 define parts of the world that can be navigated around by navigation
 agents.
 agents.
 
 
-To create a navigation region add the :ref:`Navigation<class_Navigation>`
-node to a 3D scene, then add a :ref:`NavigationMeshInstance<class_NavigationMeshInstance>`
-as child of the navigation node. Next in the inspector for that mesh create or add a
+To create a navigation region add the :ref:`NavigationMeshInstance<class_NavigationMeshInstance>`
+node to a 3D scene. Next in the inspector for that mesh create or add a
 :ref:`NavigationMesh<class_NavigationMesh>`. The navmesh contains options
 :ref:`NavigationMesh<class_NavigationMesh>`. The navmesh contains options
 for how it will be generated when it's baked. The geometry options control
 for how it will be generated when it's baked. The geometry options control
 which nodes, and types of nodes, are used to bake the mesh. A full
 which nodes, and types of nodes, are used to bake the mesh. A full
@@ -97,7 +96,9 @@ Generating a path (old method)
 ------------------------------
 ------------------------------
 
 
 This is the old method for generating a navigation path, it will be
 This is the old method for generating a navigation path, it will be
-removed in Godot 4.
+removed in Godot 4. First, add a navigation node to the scene, then
+add a navigation mesh instance as it's child and set up a navigation
+mesh. 
 
 
 To get a path between two areas on a map you use the navigation node
 To get a path between two areas on a map you use the navigation node
 method ``get_simple_path()``. The first argument is a Vector3 of the
 method ``get_simple_path()``. The first argument is a Vector3 of the