setDragCoefficient method

void setDragCoefficient(
  1. double coefficient
)

Set air drag coefficient (0.0 to 1.0)

Implementation

void setDragCoefficient(double coefficient) {
  _dragCoefficient = coefficient.clamp(0.0, 1.0);
}