removeContactMaterial method
Removes a contact material from the World.
Implementation
void removeContactMaterial(ContactMaterial cmat) {
final idx = contactmaterials.indexOf(cmat);
if (idx == -1) {
return;
}
contactmaterials.removeAt(idx);
contactMaterialTable.delete(cmat.materials[0].id, cmat.materials[1].id);
}