I have several unique objects on screen.
They can ALL collide with each other.
They are propelled across the screen using linearVelocity.
At the moment any object that collides with another is removed and destroyed up on contact.
All working fine.
What I want to do is delay the removal of the collided objects so when they contact you can visually see the collided objects interact with each other.
I need the objects collision ability to be inactive so when the collided object is moving after contact it dosnt register a collision with any other object.
Now I looked at isBodyActive but this obviously just removes the object from the physics world and the object is inanimate.
I looked at using event.contact but this also is not suitable.
isHitTestable would be great but again wouoldnt work.
So basically when the objects collide I need to stop them registering collisions but keep them in the physics simulation.
Any ideas? set a flag perhaps somewhere ? but them what to call using the flag etc hmmm
thank you