Skip to content

llRotTarget

function ll.RotTarget(Rotation: quaternion, LeeWay: number): number

Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target.

The returned number is a handle that can be used in at_rot_target and llRotTargetRemove.

Parameters
Rotation (quaternion)
LeeWay (number)

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

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