Is it possible to have anti-matter? It would be really useful for, say, a Worms game where you would have the play area, and then apply circular anti-matters on explosions that would then negate the effects of the collision bodies on overlap areas.
if that made any sense :P
if its not possible right now, could it be a possible future feature?
It sounds like an sarcastic "no" 🙂
Probably because what you request (altering or destroying shapes of bodies) is not within the field of the physics engine (and no engine will likely ever handle things at the matter/antimatter level).
Maybe you could reuse things done by others to achieve your goal, but this does not have to be integrated in the engine.
well I thought it would be as simple as returning false on collision tests if an anti-matter was overlapping the same spot
but yeah I have no idea how I would go about making the world destroying with Box2d
any ideas or suggestions?
You have to destroy the shapes overlapping the explosion, and recreate different shapes without the exploded parts (or not recreate it, if the whole shape was destroyed).