Debugging
Debugging Meshes and/or Tiles
- Set ai_DebugDrawNavigation to 3.
- Place a TagPoint with the name "MNMDebugLocator" within (a tile of) the mesh you want to debug.
- Press BackSpace key to switch between the display of the different generation steps.
Some statistics will be displayed at the top-left corner of the screen:
Debugging Paths
To display a path between two points, a path which can use any SmartObjects – place two TagPoints, MNMPathStart and MNMPathEnd:
To display a path for a particular AI character, rename it to MNMPathStart:
Debugging Raycast
To debug raycast, create two TagPoints, MNMRayStart and MNMPathEnd. You can see which triangles are traversed and where there is a hit, if any:
Memory Statistics
To display detailed memory statistics for each existing mesh, set ai_MNMProfileMemory to 1 and also make sure ai_DebugDrawNavigation is not zero.
Overview
Content Tools