If you're an experience CFrame scripter, you should know what local and global space is. So I want my camera to rotate in global axis, so how do I do it?
If I use CFrame.Angles()
or CFrame.fromEulerAnglesXYZ()
, it will just rotates in local space
Assuming you've already defined the Camera value:
local rotation = CFrame.Angles(0,0,0) -- Change to your desired rotation Camera.CFrame = rotation*(Camera.CFrame - Camera.CFrame.p) + Camera.CFrame.p