makePingPongBall method

void makePingPongBall()

Make object bounce like a ping pong ball

Implementation

void makePingPongBall() {
  setupElasticCollision(
    enabled: true,
    bounciness: 0.95,
    minBounceVelocity: 8.0,
  );
}