I want to use trigonometry to find this angle I have looked at this thread:
But the code provided did not work:
local Adjacent = game.Players.LocalPlayer.Head.CFrame local Hypotenuse = workspace.CurrentCamera.CFrame --The both are CFrames, not Vectors, but it should help you to understand local FinalVector = Adjacent:ToObjectSpace(Hypotenuse).LookVector --We need to make the 2 vectors relative, ldk as without this it dont work. Still Remember we are using 2 CFrames and the function only takes 1 Parameter local Theta = math.acos(FinalVector)
Here is my angle
how can I find this angle please let me know and provide resources!