Support Forum

Modify only a part of a GridGraph or LayeredGridGraph

Hi,
we are programming an isometric 3D game in Unity, and studying the possibility of adopting this solution some doubts have arisen.

In our game we have some objects with several states, which can modify the navigation mesh at runtime. For example a door that in closed state prevents the passage to a specific area. I have seen that the NavMeshCut class allows to recalculate part of the navigation mesh in real time, but is there any object that works in a similar way in the GridGraph or in the LayeredGridGraph? without having to recalculate the whole mesh, of course.

Thanks in advance.

1 Like

Hi,

I just realized that the DynamicGridObstacle class does exactly what I asked for.

Thank you very much.

1 Like