Gameplay

Obstacles

Areas can be used to block off certain areas of the NavMesh both in editor and at runtime. This will completely omit an area from navmesh generation.

Obstacles can be created by creating a NavMesh Area Component, enabling the IsBlocker flag.

Examples

Source: Facepunch/sbox-docs (CC-BY-4.0) · updated 2025-10-29. Read it rendered on the official docs.

More in Gameplay

Community wiki — not affiliated with Facepunch Studios. For the latest and most authoritative information, see the official developer wiki.