Skip to content

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.

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.