Get the number of corners along the path / GetCornersNonAlloc

I’m switching over from Unity’s built-in NavMesh to A*. In my AI controller, I use a method called NavMeshPath.GetCornersNonAlloc to get the number of corners along the path. Is there something like this in A* that I can use to get the number of corners along the path?

Hi

You can use IAstarAI - A* Pathfinding Project

That worked like a charm. Thanks for the fast response.