# 3D Navigation Play Demo 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 packages/graphics/examples/3d_navigation.py ## Source Code ```{literalinclude} ../../packages/graphics/examples/3d_navigation.py :language: python :linenos: ```