restitution property

double restitution
final

Bounciness, in [0, 1]. 0 is fully inelastic; 1 preserves kinetic energy on bounce.

Implementation

final double restitution;