Modify, extend, connect, disconnect NavigationPolygons?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Lebostein

Hi,

in my Adventure game some areas are only accessible if some conditions are fulfilled. For example the player can enter the right side of a scene only if the door in the middle is open. So I have to modify my walkable areas during gameplay. Can I create more then one NavigationPolygons for one scene and can I connect/merge or disconnect these NavigationPolygons if some conditions are fulfilled?

I have tested two overlapping NavigationPolygonInstances in a Navigation2D container, but it seems there is no connection between the polygons. But I saw a connection between different polygons in tilemap based games…