1. NavTile
  2. Algorithms
  3. Smoothing

Smoothing

It is possible to apply a smoothing algorithm to a calculated path. This takes the NavTilePath generated in the pathfinding step and converts it to a smoothed path. You can apply multiple smoothing algorithms to the same path, in whatever order you desire.

Line of sight smoothing is included in the NavTiles package. You can learn more about line of sight smoothing on its dedicated page.

It is also possible to create your own smoothing algorithms. To do this, it is necessary to implement the INavTilePathModifier interface. Classes that implement this interface will automatically show up in the smoothing section of the Pipeline tab in the NavTile Settings Window.

Articles

How can we help?