Adds a 2d force to a Game Object. Use Vector2 variable and/or Float variables for each axis.
Game Object
The GameObject to apply the force to.
Force Mode
Option for applying the force
At Position
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.
Vector
A Vector2 force to add. Optionally override any axis with the X, Y parameters.
X
Force along the X axis. To leave unchanged, set to 'None'.
Y
Force along the Y axis. To leave unchanged, set to 'None'.
Vector 3
A Vector3 force to add. z is ignored
Every Frame
Repeat every frame while the state is active.
TIP: To add a force in local space use Add Relative Force 2d