how would you remove navigation from a tile when you put a building object on it? so if an NPC could run a certain path then you put a fence down, how would you make that affect navigation? for 2d using the tilesets for navigation. Or even better, how would you make an object add a collision shape that effected the navigation map? Thanks!
#Updating the navigable path
7 messages · Page 1 of 1 (latest)
You would likely have to rebake the nav mesh with the new obstacle in place
But the tileset on the tilemap below the fence still has navigation enabled. So what do you use to override that navmesh on the tileset?
you can also only bake on 3d navigation maps I think
NavigationServer2D has a function called obstalce_create() but there is not really documentation on it
Hm...