Rotate a panel along the Y axis such that the further side of the panel appears farther away
I have a scroll view with a horizontal layout in a 2d game that has three panels in it. These panels represent user profiles. The center panel is perpendicular to the player while the left and right panels are at opposing 45 degree angles to the player rotated on the Y axis 45 and -45 respectively.
I can't seem to get the left and right panel perspective to happen. The left panel right side (top right and bottom right) should appear further away than left side (top left and bottom left corner) .
I'm still fairly new to Unity and I'm probably missing something newbish. The panel widths are only 465px but I want the perspective of the deeper sides to be much farther away when rotated.
Any suggestions?
Answer by vin4bacchus · Sep 17, 2021 at 07:17 PM
I figured it out. I needed to switch my Main Camera to Perspective mode and switch the Render Mode no my top level Canvas to be Screen Space - Camera. Then attach my Main Camera as the Render Camera.