> 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/rigidbody/add-force-at-position.md).

# Add Force At Position

Node description and basic instructions

### Description

Applies force at position. As a result this will apply a torque and force on the object.

For realistic effects position should be approximately in the range of the surface of the rigid body. This is most commonly used for explosions. When applying explosions it is best to apply forces over several frames instead of just one. Note that when position is far away from the center of the rigid body the applied torque will be unrealistically large.

{% hint style="warning" %}
Force can be applied only to an active rigid body. If a GameObject is inactive, AddForceAtPosition has no effect.
{% endhint %}

**To create it**, right-click on free space in AI Tree inspector and select <mark style="color:purple;">Create Node/Tasks/Rigidbody/Add Force At Position.</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%2FIl2laXxljaOCmpLxXyy1%2F2.png?alt=media&amp;token=9696903a-07f4-47e1-b9ec-aec158ac298c" 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                |
| Force             | Force vector in world coordinates             |
| Position          | Position in world coordinates                 |
| Mode              | Method used to apply the force to its targets |
