Skip to content

llAngleBetween

function ll.AngleBetween(Rot1: quaternion, Rot2: quaternion): number

Returns the angle, in radians, between rotations Rot1 and Rot2.

Parameters
Rot1 (quaternion)
First rotation.
Rot2 (quaternion)
Second rotation.

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

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