Triangulated Polygon A-star for 2D Triangle Meshes is an extension of my pathfinder tpastar so that it is able to find shortest paths on triangle meshes containing internal triangles.
The image shows the result of a pathfinding between one starting point and three target points. The shade of the triangles indicate the number of times the given triangle was expanded.
The algorithm works in various arrangements:
This repository contains the implementation of the algorithm in C#.
- Jonathan Shewchuk, whose library, Triangle was used to triangulate polygons and generate meshes for the demo application