Mention that unwanted navmesh can be discarded with a NavigationObstacle3D

Adds info that in Godot 4.3 a NavigationObstacle3D can be baked to navmesh and used to discard unwanted navmesh inside its shape, e.g. navmesh that appears inside walls.
This commit is contained in:
smix8
2024-07-16 20:54:53 +02:00
parent 70bac04ff0
commit dd1ff5a7c2
2 changed files with 8 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

@@ -284,6 +284,14 @@ There are some common user problems and important caveats to consider when creat
Remove the geometry that is on the ground inside the other geometry. If that is not possible, add smaller "dummy" geometry inside with as few triangles as possible so the cells
are occupied with something.
A :ref:`NavigationObstacle3D<class_NavigationObstacle3D>` shape set to bake with navigation mesh can be used to discard geometry as well.
.. figure:: img/nav_mesh_obstacles_discard.webp
:align: center
:alt: NavigationObstacle3D unwanted geometry discard
A NavigationObstacle3D shape can be used to discard unwanted navigation mesh parts.
Navigation mesh script templates
--------------------------------