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.
Examples
Section titled “Examples”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.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llSetForceAndTorque