How do I get the orientation from the CFrame of the current camera so I can add the orientation to a part?
(It is the camera’s orientation)
I have tried ToEulerAnglesXYZ() and ToEulerAnglesYXZ()
local x, y, z = Camera.CFrame:ToOrientation()
the result will be in radians so you’ll have to put it in math.deg() to get it in normal units
1 Like
I tried it out and it returned the correct orientation values!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.