Hello,
I am a beginner in Unity and I am trying to make an isometric mobile game. I created an empty object called CameraPivot and rotated it by 30 on the x axis and by 45 on the y axis, gave the main camera the Z position of -10, made it orthographic and a child of the camera pivot.
Now the issue is that I don’t know how to make my scene visible on mobile devices with different screen sizes. I have a 10x10 grid of cubes that is visible on the more rectangular devices like smartphones, but on more square-ish devices like tablets, the left and right edge isn’t visible.
I came upon a technique using Cinemachine’s targeted group camera where you add two objects, one on the left side of the area that you want to be seen and the other on the right side and they make sure that no matter the device dimensions, both objects are visible by adjusting the camera’s size.
But this didn’t work for me because it made the camera not follow the rotation of its pivot and when I try to adjust the main camera, Cinemachine camera or target group camera’s transform rotations it just snaps back to 0.
My question is if it is even possible to achieve my desired result using this method or is there a better way to achieve it?