Hello, is there a simple option to modify the code so that the search_path function returns paths that will not pass through specific coordinates? I mean, for example, closing certain doors on a floor plan in the created navigation mesh so that the path cannot lead through this door, but only around it.
What I mean is that you don't have to create a new navigation mesh every time, but set it dynamically on one created navigation mesh (maybe by adding some very large weights for specific coordinates?)
I think it's possible, but it's not an easy task. The current design of navmesh does not allow for dynamic obstacles. It assumes that the navmesh is static and does not change.
Hello, is there a simple option to modify the code so that the search_path function returns paths that will not pass through specific coordinates? I mean, for example, closing certain doors on a floor plan in the created navigation mesh so that the path cannot lead through this door, but only around it.
What I mean is that you don't have to create a new navigation mesh every time, but set it dynamically on one created navigation mesh (maybe by adding some very large weights for specific coordinates?)