Hi everyone. How to use navigation obstacles in 2D? I’m not using a tilemap, and I couldn’t find any tutorials on this case. It’s only for those who use a tilemap. I created a polygon for a NavigationObstacle2D, but it didn’t work. I followed the documentation, including enabling avoidance and affect navigation mesh, but it didn’t work. What could be wrong?
I’m not the only one having problems with obstacles2D
[https://www.youtube.com/watch?v=YgqtMyOU51c]
Using static body and a collision polygon, it doesn’t work neither. In this print you can see when the character is in the collision polygon and out of the navigation region. If you look carefully, you can also see the collision shape of the character (capsule). The character is moving with function move_and_slide().
