How to check which areas a calculated path goes thru?

Is there a way to check which areas/volumes a calculated path goes thru prior to traversing the path?

The only way I can think of is to have a ghost traverse the path first and record the area/volume collisions, but does A* have a built-in way to access these without the ghost?

Hi

Yes, on the calculated path you can access the .path field and the .vectorPath fields, which contain the nodes the path passed through, and the coordinates of the path, respectively.

See Searching for paths - A* Pathfinding Project