- Home /
Camera's viewport also changes its size when changing the camera's viewport rect y pos (or x pos) – help!
Hey guys, I have a very basic scene with a cube in the middle (image below #1).
Whenever I change the y pos (or x pos) of the camera's viewport rect, it changes the viewport rect size (and therefore displays the cube smaller) instead of moving it out of the game view (image below #2).
I'm trying to get it to look like in #3. I don't worry about moving it, it's simply the resizing that is killing me.. Do you have any suggestions?
(so far I've tried rect.yMax, rect.position, and rect.size without any luck)
Your answer
Follow this Question
Related Questions
How to force the game to be stretched to fit the screen? 1 Answer
What is the best way to use the bounds of the camera in-world effectively? 1 Answer
Camera position in Viewport coordinates 2 Answers
Changing the Camera viewport rect results in resizing the objects rendered by the specific camera ? 1 Answer
How do I limit my camera viewport to the boundaries of a plane? 0 Answers