0 votes

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.

I'm using 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?

in Engine by (689 points)

1 Answer

0 votes
Best answer


Maybe we have a chance to see it in 2.1

by (98 points)
selected by

Thanks for the reply. It would be great that something in this matter come with 2.1

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.