Add documentation for when navigation debug mesh will show

This commit is contained in:
Morgan Wesemann
2024-02-06 22:52:52 -05:00
committed by GitHub
parent a9f5cc75f1
commit 495718f553

View File

@@ -24,6 +24,8 @@ 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.
Navigation debug settings
-------------------------