|Topic was automatically imported from the old Question2Answer platform.
|Published before Godot 3 was released.
I have a labyrinth where randomly there are some obstacles that appears in the middle of the path and prevent to crossed it to the enemies and the player.
Navigation2D and created in the editor
NavigationPolygon that conforms the labyrinth. But it is possible to add by code a new polygon and integrate it into the current map as one obstacle (it would remove a section of path to emulate the obstacle).
When using the editor, I can create holes in the map by adding a new polygon that is completely inside other polygon. There isn’t a way to make a subtract operation between one polygon and other so I can modify the map easily?
Would be implemented in the future?