classref: Sync with current 3.3 branch

This commit is contained in:
Rémi Verschelde
2021-07-13 13:44:08 +02:00
parent b7ef4a3708
commit b7ba6a23c5
19 changed files with 150 additions and 21 deletions

View File

@@ -18,6 +18,8 @@ Description
Provides navigation and pathfinding within a collection of :ref:`NavigationMesh<class_NavigationMesh>`\ es. By default, these will be automatically collected from child :ref:`NavigationMeshInstance<class_NavigationMeshInstance>` nodes, but they can also be added on the fly with :ref:`navmesh_add<class_Navigation_method_navmesh_add>`. In addition to basic pathfinding, this class also assists with aligning navigation agents with the meshes they are navigating on.
**Note:** The current navigation system has many known issues and will not always return optimal paths as expected. These issues will be fixed in Godot 4.0.
Tutorials
---------
@@ -109,6 +111,8 @@ Returns the navigation point closest to the given line segment. When enabling ``
Returns the path between two given points. Points are in local coordinate space. If ``optimize`` is ``true`` (the default), the agent properties associated with each :ref:`NavigationMesh<class_NavigationMesh>` (radius, height, etc.) are considered in the path calculation, otherwise they are ignored.
**Note:** This method has known issues and will often return non-optimal paths. These issues will be fixed in Godot 4.0.
----
.. _class_Navigation_method_navmesh_add: