llSetTorque

From Second Life Wiki
Revision as of 00:55, 23 December 2013 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search

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

<lsl> default {

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

}

</lsl>

See Also

Functions

•  llSetForceAndTorque
•  llSetForce

Deep Notes

Search JIRA for related Issues

Signature

function void llSetTorque( vector torque, integer local );