Difference between revisions of "LlSetTorque"
Jump to navigation
Jump to search
m |
|||
Line 16: | Line 16: | ||
{ | { | ||
llSetTorque(<0,10,0>,1); | llSetTorque(<0,10,0>,1); | ||
//X Y Z Local | //X Y Z Local | ||
} | } | ||
} | } |
Revision as of 13:42, 14 June 2011
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 |