- Home /
how do I remove a nav mesh obstacle but not affect nav mesh
Hi all
I have a chunked map system that pre-builds the entire map on start. This includes the navMesh and all obstacles. This is done to over come the major lag the game was suffering due to re generating the nav mash every time a chunk was spawned or destroyed. When the chunking starts to run after the map is generated it removes all map geometry and the obstacles as well. This in turn causes the navmesh to rebuild. So my question is..is there a method to selectively destroy a nav mesh obstacle without the nav mesh updating?
Thanks
Comment