Sets the torque of object (if the script is physical)

Syntax

void llSetTorque( vector torque, integer local );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

vector torque
integer local (boolean)
boolean, if TRUE uses the local axis, if FALSE uses the region region axis

Caveats

Examples

default
{
    touch_start(integer total_number)
    {
        llSetTorque(<0,10,0>,1);
                   //X  Y Z  Local
    }
}

See also

Functions