mixFriction static method
Friction mixing law. The idea is to allow either fixture to drive the restitution to zero. For example, anything slides on ice.
Implementation
static double mixFriction(double friction1, double friction2) {
return sqrt(friction1 * friction2);
}