makeBasketball method

void makeBasketball()

Make object bounce like a basketball

Implementation

void makeBasketball() {
  setupElasticCollision(
    enabled: true,
    bounciness: 0.75,
    minBounceVelocity: 15.0,
  );
}