NavMeshBounds
Limits a navmesh to a box.
NavMeshBounds ( navmesh,x#,y#,z#,width#,height#,depth# )
Parameters
- navmesh
- the navmesh's handle.
- x#
- the box's left side.
- y#
- its bottom.
- z#
- its near side.
- width#
- how wide it is.
- height#
- how tall it is.
- depth#
- how deep it is.
Description
Limits a navmesh to a box: only what is inside counts. Use it to keep the navmesh to the part of a big world where characters walk, which makes it quicker to build. Without bounds, a plane (which goes on for ever) counts only around the navmesh's other entities, or in a square 200 units across round the middle of the world if it has none.
