Hello.
I need to remove a body when it collides. Is it safe to remove it in the collision callback, or I need to destroy it at the end of the simulation step?
I need to remove a body when it collides. Is it safe to remove it in the collision callback, or I need to destroy it at the end of the simulation step?