How can I find the difference between two angles?

So I have the rotation of a head, and a cframe.lookat between the heads position, and the players heads position. How can I get a rotation of the difference between the head’s rotation, and the cframe.lookat? not a single value, preferably all 3 values, xyz.

2 Likes

Call CFrame:ToOrientation on the CFrame returned from lookAt. You can use the ToEuler... versions depending on the order you want the angles applied.

1 Like