This is an old revision of the document!
Table of Contents
Pathfinding - Common issues
How to have good pathfinding in the map.
Choose proper tileset
Not all tilesets supports good pathfinding. Notoriously known tileset called “DOA” has amazing looking locations on the one hand, but on the other hand it has big problems with pathfinding. Character can get stucked easily when moving thru “fancy” hills and so on.
Original NWN tilesets like “Rural” don't have this kind of issue and despite looking not so great, it works perfectly.
Always debug the tiles as a first step
Learn how to display the AABB mesh:
- In the game press Ctrl + Shift + F12 and select aabb mesh
- Or in the toolset press Environment → Render AABB nodes
Important note
For DOA, the game and toolset unfortunatelly often crashes when displaying the AABB - which is propably related to the fact this tilset is broken.
Organize properly the plceables
As it was mentioned in the Pathfinding - Introduction to the problem, when path is being found in the tileset, the character starts to move and it looks like it tries to avoid placeables on the route to the destination.
There is several rules of thumb about properly placing the placeables to not have the character stucked on the route.







