setRestitution method

void setRestitution(
  1. double restitution
)

The restitution (elasticity) usually in the range 0,1.

Implementation

void setRestitution(double restitution) {
  this.restitution = restitution;
}