Robmaister / SharpNav

Advanced Pathfinding for C#
sharpnav.com
Other
537 stars 129 forks source link

Navigation? #17

Closed SallyDT closed 9 years ago

SallyDT commented 10 years ago

How would I use SharpNav with an A* algorithm?

Robmaister commented 10 years ago

At this point most of the internals of PolyMesh and PolyMeshDetail should be open. You can take the polygon info as well as connection data inside PolyMesh as the graph that you traverse with A*.

The way Detour does pathfinding is almost definitely going to be faster, though. If you need help with anything more specific than that, let me know. If you'd like some part of PolyMesh to be exposed publicly or to change the API in any way, also feel free to let me know.