Difference between revisions of "LlSetTorque"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples | |examples=<lsl> | ||
default | |||
{ | |||
touch_start(integer total_number) | |||
{ | |||
llSetTorque(<0,10,0>,1); | |||
//X Y Z Local | |||
} | |||
} | |||
</lsl> | |||
|helpers | |helpers | ||
|also_functions={{LSL DefineRow||[[llSetForceAndTorque]]|}} | |also_functions={{LSL DefineRow||[[llSetForceAndTorque]]|}} |
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 |