Can I change pointgraphs root at runtime?
Hi
Yes you can
var pointGraph = AstarPath.active.astarData.pointGraph;
pointGraph.root = someOtherRootTransform;
// Recalculate the graph with the new root
AstarPath.active.Scan();
1 Like