Difference between revisions of "LlSetTorque"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{LSL Function | {{LSL Function | ||
|inject-2={{LSL_Function/force|troque|local=local}}{{LSL_Function/physical}} | |||
|func_id=74 | |func_id=74 | ||
|func_sleep=0.0 | |func_sleep=0.0 | ||
Line 5: | Line 6: | ||
|func=llSetTorque | |func=llSetTorque | ||
|p1_type=vector|p1_name=torque | |p1_type=vector|p1_name=torque | ||
|p2_type=integer|p2_name=local | |p2_type=integer|p2_name=local | ||
|func_desc=Sets the torque of object (if the script is physical) | |func_desc=Sets the torque of object (if the script is physical) | ||
|spec | |spec |
Revision as of 13:21, 10 June 2012
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 troque is treated as a local directional vector, if FALSE troque is treated as a region directional vector |
Caveats
Examples
<lsl> default {
touch_start(integer total_number) { llSetTorque(<0,10,0>,1); //X Y Z Local }
}
</lsl>See Also
Functions
• | llSetForceAndTorque | |||
• | llSetForce |