Skip to content

llRotBetween

function ll.RotBetween(Vector1: vector, Vector2: vector): quaternion

Returns the rotation to rotate Vector1 to Vector2.

Returns the rotation needed to rotate Vector1 to Vector2.

Parameters
Vector1 (vector)
Vector2 (vector)

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

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