applyForceAtWorldPoint method

void applyForceAtWorldPoint({
  1. required Vector2 force,
  2. required Vector2 point,
})

Apply a force to a body. Both the force and point are expressed in world coordinates.

Implementation

void applyForceAtWorldPoint({required Vector2 force, required Vector2 point}) => _body.applyForceAtWorldPoint(force: force, point: point);