llSetTorque
function ll.SetTorque(Torque: vector, Local: number)Sets the Torque acting on the script's object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).
Only works on physical objects.
Parameters
-
Torque(vector) - Torque force.
-
Local(number) - Boolean, if TRUE uses local axis, if FALSE uses region axis.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetTorque().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetTorque