setForce method

void setForce(
  1. Vector2 force
)

Set the force applied to the body for the next time step.

Implementation

void setForce(Vector2 force) => _body.setForce(force);