bw logo

Chapter 2. Navigation Mesh

Use of the server-side navigation functions require the navigation mesh (or navmesh) be generated for the space. The navmesh is a collection of interconnected convex polygons parallel to the XZ plane. These navpolys are generated using the tool NavGen, and are stored in the .cdata chunk files of the space.

Note

The chunk files are stored under the <res>/spaces/<space>, and contain binary terrain and lighting data.

For details on the information held by this and other chunk files, see Client Programming Guide's section Chunks Implementation files.

For details on this and other binary files' grammar, see File Grammar Guide's section BinSection files.

For details on the generation of navmesh, see the document Content Tools Reference Guide's section NavGen Generating the navmesh.