I’m trying to use a point graph in an Augmented Reality Project. My game changes position in world space a lot , so I need a way to make the calculated grid move with it. I figure I could use:
// Recalculate all graphs AstarPath.active.Scan();
but I need the grid to recalculate itself every second or so, since the position of the game constantly changes.
Another way would be to make the calculated grid a child object of the walkable plane. So if I transform the plane the grid transforms with it. That would be the preferred option I think, but is it possible?
Thanks a lot for any suggestions.