makeEternalBounce method

void makeEternalBounce()

Make object bounce eternally (near-perfect elasticity)

Implementation

void makeEternalBounce() {
  setupElasticCollision(
    enabled: true,
    bounciness: 0.99,
    minBounceVelocity: 5.0,
  );
}