Is there a way to get a list of nodes in a path?
Like a function,
List gNodes = AstarPath.active.astarData.gridGraph.GETPATH(startNode, endNode);
Is there a way to get a list of nodes in a path?
Like a function,
List gNodes = AstarPath.active.astarData.gridGraph.GETPATH(startNode, endNode);
Hi
Something like this would work
var path = seeker.StartPath(startPoint, endPoint);
// Block until the path has been calculated
AstarPath.active.WaitForPath(path);
List<GraphNode> nodesInPath = path.path;