setFriction method

void setFriction(
  1. double friction
)

The friction coefficient, usually in the range 0,1.

Implementation

void setFriction(double friction) {
  this.friction = friction;
}