Adds a relative 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
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 force in world space use Add Force 2d