// Frees a body, removes all shapes associated with the body and frees // all shapes and contacts associated and attached to this body. public void RemoveBody(Body body) { ContactManager.RemoveContactsFromBody(body); body.RemoveAllBoxes(); // Remove body from scene Bodies Assert(Bodies.Remove(body)); }