Add Relative Force 2D
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
Adds a force to the rigidbody2D relative to its coordinate system.
The force is specified as two separate components in the X and Y directions (there is no Z direction in 2D physics). The object will be accelerated by the force according to the law force = mass x acceleration - the larger the mass, the greater the force required to accelerate to a given speed.
To create it, right-click on free space in AI Tree inspector and select Create Node/Tasks/Rigidbody2D/Add Relative Force 2D.
This task node has a number of fields, that are highlighted in picture below.
Name | Description |
---|---|
Node Name
Name of node
Ignore Abort Self
Whether node ignores abort self or not
Target
Target to which force is added
Relative Force
Components of the force in the X and Y axes
Mode
Method used to apply the force to its targets