llSetTorque
Revision as of 13:42, 14 June 2011 by Trane210 Kozlov (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llSetTorque( vector torque, integer local );74 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Sets the torque of object (if the script is physical)
• vector | torque | |||
• integer | local | – | boolean, if TRUE uses local axis, if FALSE uses 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 |