> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/tasks/rigidbody2d/add-relative-force-2d.md).

# Add Relative Force 2D

Node description and basic instructions

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 <mark style="color:purple;">Create Node/Tasks/Rigidbody2D/Add Relative Force 2D.</mark>

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FkxmTdiMVyqKYaAJXGPVa%2F3.png?alt=media&amp;token=1b2df1d6-573c-4fe1-8848-686bec67960c" alt=""><figcaption></figcaption></figure>

### Fields

| 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 |
