Skip to content

llSetForceAndTorque

function ll.SetForceAndTorque(Force: vector, Torque: vector, Local: number)

Sets the Force and Torque of object, in object-local coordinates if Local == TRUE (otherwise, the region reference frame is used).

Only works on physical objects.

Parameters
Force (vector)
Directional force.
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.SetForceAndTorque().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.