NavMeshAdd
Adds an entity's shape to a navmesh.
NavMeshAdd ( navmesh,entity[,children] )
Parameters
- navmesh
- the navmesh's handle.
- entity
- the entity to add.
- children (optional)
- 1 to add everything attached to the entity as well, such as the parts of a loaded level; 0 for just the entity itself.
Description
Adds an entity's shape to a navmesh: its surfaces become places to walk on, and its sides walls to walk round. Add the ground, the buildings, and anything else characters can't walk through, such as rocks and crates. Meshes, terrains and planes all work; pivots, cameras and lights have no shape and are left out. Hidden entities are left out too.
