I’m trying to have my player place objects and have the grid graph update. Since they are not dynamic objects I can’t simply use the DynamicGridObstacle modifier. Can this be done in javascript? Is this done using GraphUpdateObject()? Thanks!
try this:
AstarPath.active.Scan();
AstarPath.active.UpdateGraphs(new GraphUpdateObject(collider.bounds));