I have large flat colliders, but I need occasional holes in them. The way I'm doing it now is by adding areas that when something enters them, it sets a collision exception. And then when something leaves them it removes the exception.

This seems to work. But it would be greatly improved if for the purposes of physics, something could dangle on the edge of the hole, if you know what I mean.

It's there a way to add an actual hole?

Why yes it is possible (sort of). What you can do is use CSG nodes. They have an option to act like collisions, so when used along with the Boolean operators, they can be used to have collisions with holes.

You can also make holes by using multiple convex objects. If you model the colliders in Blender, you can use the Create Convex Collision Object Siblings in the Mesh menu in Godot. That way it can have real physics.

Unfortunately the position of the holes is dynamic. So I'd have to calculate all of the triangles by code.

Which seems like it would be a lot of work to be honest.

3 years later