فهرست منبع

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.
smix8 1 سال پیش
والد
کامیت
dd1ff5a7c2
2فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. BIN
      tutorials/navigation/img/nav_obstacle_bake.webp
  2. 8 0
      tutorials/navigation/navigation_using_navigationmeshes.rst

BIN
tutorials/navigation/img/nav_obstacle_bake.webp


+ 8 - 0
tutorials/navigation/navigation_using_navigationmeshes.rst

@@ -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
     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.
     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
 Navigation mesh script templates
 --------------------------------
 --------------------------------