Performance of Altering grid nodes

I have many smallish objects (floating space debris) that drift slowly. I would like to periodically update the pathgrid to account for them. I could have the update change walkability or cost of the nodes. Is there any advantage either way, particularly the performance. The typical obstacle covers around 10 grid nodes.


If you use physics to update the regions (updatePhysics=true), that will be slower than just marking all nodes inside the region to be unwalkable.

If you just modify penalties, that can be faster since you could then set .requiresFloodFill to false on the GraphUpdateObject.