setDragCoefficient method
Set air drag coefficient (0.0 to 1.0)
Implementation
void setDragCoefficient(double coefficient) {
_dragCoefficient = coefficient.clamp(0.0, 1.0);
}
Set air drag coefficient (0.0 to 1.0)
void setDragCoefficient(double coefficient) {
_dragCoefficient = coefficient.clamp(0.0, 1.0);
}