llApplyRotationalImpulse
function ll.ApplyRotationalImpulse(Force: vector, Local: number)Applies rotational impulse to the object.
If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.
This function only works on physical objects.
Parameters
-
Force(vector) - Amount of impulse force to apply.
-
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.ApplyRotationalImpulse().
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: llApplyRotationalImpulse