Add Relative Force
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
Adds a force to the rigidbody relative to its coordinate system.
Force can be applied only to an active rigidbody. If a GameObject is inactive, AddRelativeForce has no effect.
To create it, right-click on free space in AI Tree inspector and select Create Node/Tasks/Rigidbody/Add Relative Force.
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 |
Force | Force vector in local coordinates |
Mode | Method used to apply the force to its targets |