For a Room 3D room, Code > Kit > Navigation Mesh > Bake Navigation Mesh (⌃⇧⌘8) bakes the mesh from the room's floors and obstacles (its models, grids and shapes). The room inspector's Navigation section sets the agent:
- Agent radius: how far it keeps from walls and edges.
- Agent height: the room it needs above the floor (under tables and ledges).
- Step: the highest step it walks up or down; higher edges are walls or drops.
- Slope: the steepest floor it walks on.
- Cell: the size of the cells the room is measured in (smaller follows shapes closer, bakes slower).
Show Navigation Mesh (⌃⇧⌘7) draws it in the 3D view, with its links as arcs. Floors above floors work: each is a layer of its own, joined where an agent can step from one to the other. In the game, nav_path_3d(x1, y1, z1, x2, y2, z2) gives [[x, y, z, kind], …].
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.