The picture below is part of the Roblox’s over the shoulder camera script.
(Camera Manipulation)
I understand it like this inputObject.Delta.X calculates the mouse travel distance on the X-axis.
And that’s the rotation value of the camera X-axis. did I get it right? but I have questions
-
Why substract inputObject.Delta.X from cameraAngleX
-
I printed (inputObject.Delta.X) but Values are small
(If inputObject.Delta.X == camera rotation X-axis I expect 60, 90 etc, Like when you use an angle.)
-
I knew CFrame.Angles (X, Y, Z) but why is cameraAngleX(inputObject.Delta.X) on the Y axis?
please, anything is welcome let me understand this