LlSetTorque - Second Life Wiki

LlSetTorque

From Second Life Wiki

Jump to: navigation, search

Contents

Summary

Function: llSetTorque( vector torque, integer local );

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

• vector torque
• integer local 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

•  llSetForceAndTorque
•  llSetForce

Deep Notes

Search JIRA for related Issues

Haiku

Spinning, all a blur...
Small moment of inertia.
They say torque is cheap.

This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.