GlobalForcesSettings constructor

GlobalForcesSettings({
  1. Vector2? gravity,
  2. Vector2? wind,
  3. Vector2? friction,
  4. double? dragCoefficient = 0.01,
})

Implementation

GlobalForcesSettings({
  this.gravity,
  this.wind,
  this.friction,
  this.dragCoefficient = 0.01,
});