Subtracting shapes from colliders?

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

Hi. I’m not sure exactly what this is called and I haven’t been able to find through searching so I’m just going to ask.

What I want to do is have a base polygon collider that I can subtract shapes from, through gameplay. So the polygon collider gets “hit”, then a shape is subtracted from the hit area. Is there a way to do this? Is there different terminology I should be using?

I’ve been experimenting with how it might work using tile maps, but that is proving to be too stiff requiring a crazy amount of different tiles.

If you can point me in the right direction that would be amazing. Thanks!

Cool, like the old Worms games! There should be plenty of interesting gameplay around that concept. Maybe there is some discussion about those games, and how to do that kind of thing in other engines that might be helpful to you. Or perhaps an open source implementation of a worms type of game you can take a look at.

Becbunzen | 2020-06-03 21:56

You have just given me new terms to search for. Thank you!

HeroicNate | 2020-06-03 22:12