# 3D Navigation NavigationMesh3D pathfinding with obstacle carving. ```{raw} html ▶ Run in browser ``` **Tags:** `3d` Demonstrates: - NavigationMesh3D with subdivided walkable polygon (cell_size) - Obstacle carving via add_obstacle() to cut holes in the navmesh - NavigationRegion3D registering the navmesh with the server - NavigationAgent3D following a path that routes around obstacles - NavigationObstacle3D for dynamic (runtime) avoidance - HUD showing agent state (idle / navigating / arrived) Controls: Left-click set destination, R reset agent Run: uv run python examples/features/3d/navigation.py ## Source ```{literalinclude} ../../examples/features/3d/navigation.py :language: python :linenos: ```