applyImpulseAtLocalPoint method

void applyImpulseAtLocalPoint({
  1. required Vector2 impulse,
  2. required Vector2 point,
})

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

Implementation

void applyImpulseAtLocalPoint({required Vector2 impulse, required Vector2 point}) => _body.applyImpulseAtLocalPoint(impulse: impulse, point: point);