How can I destroy a body in libgdx box2d?
Destroy bodies in libgdx box2d
Command is:
world.destroyBody (body);
but if you call this inside collision listener it gonna crash.
Possible solution:
- do post destroy function outside of collision listener