NavigationRegion2D

Godot Version

Godot 4.2.1

Question

How to prevent the “navigationregion2D” from selecting areas where it has placed nodes that do not belong to the “tilemap”?

the bake is done by editor baking it or from code?

from the editor. For now I use the “Bake NavigationPolygon” option

I thought about solutions such as when placing a new node in the game, creating “walls” and recalculating navigation.
Since godot contains many options that I still don’t know about. I wanted to know if there is a way to ignore tilemap collisions and make it also ignore certain nodes.

I resolved. The “navigation Region 2D” also works with “StaticBody2D” and can create scenes as “shaders” in the “tilemaps”