mixFriction method

double mixFriction (double friction1, double friction2)

Friction mixing law. The idea is to allow either fixture to drive the restitution to zero. For example, anything slides on ice.

@param friction1 @param friction2 @return

Implementation

static double mixFriction(double friction1, double friction2) {
  return Math.sqrt(friction1 * friction2);
}