Adds a 2d force to a Game Object. Use Vector2 variable and/or Float variables for each axis.
The GameObject to apply the force to.
Option for applying the force
Optionally apply the force at a position on the object. This will also add some torque. The position is often returned from MousePick or GetCollision2dInfo actions.
A Vector2 force to add. Optionally override any axis with the X, Y parameters.
Force along the X axis. To leave unchanged, set to 'None'.
Force along the Y axis. To leave unchanged, set to 'None'.
A Vector3 force to add. z is ignored
Repeat every frame while the state is active.
TIP: To add a force in local space use Add Relative Force 2d