Game Development Reference
In-Depth Information
As you can see, the detail becomes jumbled and the mesh itself becomes unusable.
With such differing results, the big question is how large should a cell size be for a
level? The answer is that it depends on the required result. However, one important
consideration is that as the processing time to generate one is done during develop-
ment and not at runtime, even if it takes several minutes to generate a good mesh
then it can be worth it to get a good result in the game.
Tip
Setting a small cell size on a large level can cause mesh processing to take a
significant amount of time and consume a lot of memory. It is a good practice to
save the scene before attempting to generate a complex navigation mesh.
The Size , Walkable Radius , and Cell Size parameters are the most important para-
meters when generating the navigation mesh, but there are more that are used to
customize the mesh further:
Max Slope : This is the largest slope that a character can walk on. This is
how much a piece of geometry that is tilted can still be walked on. If you take
the wall and rotate it, you can see it is walkable:
Search WWH ::




Custom Search