I have objects (bullets) with a texture and a collision in the form of a Fixture, and when I need to remove these objects, I delete them from the processing array, but the collision remains and continues to move, creating interference in the game. How can I remove / disable this collision? I tried through setActiv ... and through destroyFixture and removeBody , but I got an error:

This is an application that has been requested. Please contact the application team for more information.

    1 answer 1

    He asked himself - he found the answer:

      world.destroyBody(body.getBody()); body = null; 

    In my case, body = Fixture, but not Body, you can have:

      world.destroyBody(body); body = null;