Dynamic terrain and grid graph updates

Hi. I was wondering how can i update my grid graph in such a way that it will also count in modified (terraformed) terrain.
Here’s an example of this.

Of course in gameplay itself terrain would not be under constant change like this one, but none the less - just running updategraph doesn’t seem to do anything, and debug lattice shows terrain staying the same.

And i can’t use mesh cutting since whole terrain is procedural (roguelite gameplay and what not) and it’s quiet big (i am running 256x256 cellsize 2, although ideally it should be 512x512 cellsize 1.

Ok, nevermind. It turns out i should’ve set bounds to specific area where i apply modification rather than to the whole thing. It works now.

1 Like