Skip to content

llSetForce

function ll.SetForce(Force: vector, Local: number)

Sets Force on 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.
Local (number)
Boolean, if TRUE uses local axis, if FALSE uses region axis.

Add example usage here showing SLua/Luau syntax with ll.SetForce().

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