applyForce method

void applyForce(
  1. Vector2 force
)

Adds a force to the current force acting on the Node.

Implementation

void applyForce(Vector2 force) {
  _force += force;
}