enum
ENavObstacleShape
Runtime obstacle that re-cuts the nav mesh through dtTileCache. Place on an entity (closed door, fallen tree, deployable barricade) — the system removes its volume from agents' walkable surface within a frame or two, and restores it when the component is disabled or destroyed.
- Module
- Game
- Header
#include "Game/Components/NavMeshObstacleComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Two shapes: Cylinder — radius and height. Cheap; matches doors / pillars well. Footprint is a disc, centred on the entity's TransformComponent.position. Box — halfExtents axis-aligned. Tighter fit for crates and furniture but slightly more expensive to evaluate.
Obstacles only affect tiles inside an EXISTING baked nav mesh — they don't extend the mesh's bounds. Designers want the scene baked once, then drop obstacles at gameplay time.
Values
| Name | Value | Description |
|---|---|---|
Cylinder | 0 | |
Box | 1 |
Generated from Game/Components/NavMeshObstacleComponent.h via game.json · Nov 5, 2026Version 1.0.0