mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 19:29:06 +00:00
Update tutorials/navigation/navigation_debug_tools.rst
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
co-authored by
A Thousand Ships
parent
495718f553
commit
1781f7bda0
@@ -24,7 +24,10 @@ In Godot debug builds the navigation debug can also be toggled through the Navig
|
||||
NavigationServer2D.set_debug_enabled(false)
|
||||
NavigationServer3D.set_debug_enabled(true)
|
||||
|
||||
Debug visualizations only show for :ref:`NavigationRegion2D<class_NavigationRegion2D>` and :ref:`NavigationRegion3D<class_NavigationRegion3D>`. Navigation regions created via :ref:`NavigationServer2D<class_NavigationServer2D>` or :ref:`NavigationServer3D<class_NavigationServer3D>` APIs do not interact with the navigation debug tools. If using a :ref:`NavigationPolygon<class_NavigationPolygon>` or :ref:`NavigationMesh<class_NavigationMesh>` created at runtime, the navigation mesh must be updated on the respective 2D or 3D Node after mesh data is set or after baking to update the debug visualization.
|
||||
Debug visualizations only show for :ref:`NavigationRegion2D<class_NavigationRegion2D>` and :ref:`NavigationRegion3D<class_NavigationRegion3D>`.
|
||||
Navigation regions created via :ref:`NavigationServer2D<class_NavigationServer2D>` or :ref:`NavigationServer3D<class_NavigationServer3D>` APIs do not interact with the navigation debug tools.
|
||||
If using a :ref:`NavigationPolygon<class_NavigationPolygon>` or :ref:`NavigationMesh<class_NavigationMesh>` created at runtime,
|
||||
the navigation mesh must be updated on the respective 2D or 3D Node after mesh data is set or after baking to update the debug visualization.
|
||||
|
||||
Navigation debug settings
|
||||
-------------------------
|
||||
|
||||
Reference in New Issue
Block a user