Okay, so I wanted to mess around with the camera angle in my game, you know, get a different perspective. I figured it would be simple, but it took a bit of fiddling to get it right. Here’s how I went about it:
Finding the Camera
First things first, I needed to find the camera object in my scene. Usually, it’s just called “Main Camera”, so that was easy enough to locate in the hierarchy.

Playing with Rotation
Once I selected the camera, I headed over to the Inspector panel. There’s a section called “Transform” with all sorts of goodies like Position, Rotation, and Scale. I focused on Rotation, obviously.
- X-axis: Twisting this one makes the camera tilt up and down.
- Y-axis: This one pans the camera left and right, like shaking your head.
- Z-axis: This is a weird one, it rolls the camera, like tilting your head sideways.
I just started plugging in different numbers for the X, Y, and Z values. You can also click and drag on those little labels to adjust the values more visually. I kept tweaking them until I got a view I liked. For a top-down view, for instance, I rotated the camera on the X-axis.
Using Code (Optional)
Now, if you want to change the camera angle during gameplay, you’ll need a bit of code. I created a new script and attached it to the camera. Something simple like this:
I added these simple code to make camera angle change.
In that code, “*” is how you access the camera’s rotation. I just set it to a new set of angles (those are in degrees, by the way).
The “Aha!” Moment
The biggest thing I learned was to just experiment! There’s no one “right” way to set the camera angle. It all depends on what you’re trying to achieve. I spent a good chunk of time just playing with the numbers until it looked good. Don’t be afraid to try out different things!
And the final result has achieve my imagination