Skip to content

Add Force 2d Sequential

Add Force

This sequential adds force to a Rigidbody2D component with animation.

Base Properties

To learn about the common Base Properties, please see Base Sequential

Target Object Options

This sequential derives from Object Returner Sequential and gets all its properties from that sequential. So, to learn about the Target Object Options please see Object Returner Sequential

Animation Options

This sequential derives from Animation Sequential and gets all of its properties. So, to learn about the __Animation Options please see Animation Base

Target Object

Target Object (or Target Objects if Multiple Objects are returned) needs to be Rigidbody2D type. So please make sure that the game object assigned in this field has a Rigidbody2D component attached. Otherwise you'll see a runtime error log when this sequential plays.

Add Force Option

This option defines how to apply the force.

Standard

This applies a force to the rigidbody by calling its AddForce() method.

Relative

This applies a force to the rigidbody relative to its coordinate system by calling AddRelativeForce() method.

Apply To Position

This applies a force at a position so it applies a torque and force on the rigidbody.

Force

This is the force to be applied to the rigidbody.

It's possible to assign different kind of values to this property (e.g. directly, randomly, from variable).

Info

To learn more about assigning values with different options, see Value Assign

Force Mode

  • Force: Add a continuous force to the rigidbody by using its mass.
  • Impulse: Add an instant force impulse to the rigidbody by using its mass.

Position to Apply

This is only available when the Add Force Option is Apply To Position.

This is the position to apply force in world coordinates.