Add Relative Torque
Node description and basic instructions
Last updated
Node description and basic instructions
Last updated
Adds a torque to the rigidbody relative to its coordinate system.
Force can be applied only to an active rigidbody. If a GameObject is inactive, AddRelativeTorque has no effect.
To create it, right-click on free space in AI Tree inspector and select Create Node/Tasks/Rigidbody/Add Relative Torque.
This task node has a number of fields, that are highlighted in picture below.
Node Name
Name of node
Ignore Abort Self
Whether node ignores abort self or not
Target
Target to which torque is added
Force
Torque vector in local coordinates
Mode
Method used to apply the force to its targets