Add Torque

Node description and basic instructions

Description

Adds a torque to the rigidbody.

Force can be applied only to an active rigidbody. If a GameObject is inactive, AddTorque has no effect.

To create it, right-click on free space in AI Tree inspector and select Create Node/Tasks/Rigidbody/Add Torque.

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

Fields

NameDescription

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

Mode

Method used to apply the force to its targets

Last updated