Hello,
So I’m using the code from the Docs to update my grid graph at runtime, and it works for simple objects. IE mesh + collider + rigidbody all on one object.
However, when I try to use the same code on a more complex object with more children colliders and a parent rigidbody, it seems to ignore the update.
Code:
Bounds b = collider.bounds;
Pathfinding.GraphUpdateObject guo = new Pathfinding.GraphUpdateObject(b);
guo.setWalkability = false;
AstarPath.active.UpdateGraphs (guo);
What am I missing?