Skip to content

llSetTorque

Function Syntax
void llSetTorque(
  1. vector Torque, // Torque force.
  2. integer Local // Boolean, if TRUE uses local axis, if FALSE uses region axis.
);

Sets the Torque acting on the script’s object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).

Only works on physical objects.