Skip to content

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.

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.