getContactMaterial method

ContactMaterial? getContactMaterial(
  1. Material m1,
  2. Material m2
)

Get the contact material between materials m1 and m2 @return The contact material if it was found.

Implementation

ContactMaterial? getContactMaterial(Material m1, Material m2){
  return contactMaterialTable.get(m1.id, m2.id);
}