- Home /
Set camera aspect ratio and position
Hey there,
I was trying for a while now, but I can't find out how to set the camera aspect without scaling it with the screensize. I need one specific camera view on an object which shall always be displayed at a certain position in relation to the UI (eg. the header or something) and it shall always stay the same aspect ratio (4:3). Right now I managed to move the view in relation to the screen, but as soon as I change the game resolution it expands the cameras view realtive to the screen and the position of the view is also set in relation to the Screen and not to the UI...
Answer by PhoenixBlackReal · Dec 09, 2014 at 07:34 PM
This might be a good read: http://gamedesigntheory.blogspot.com/2010/09/controlling-aspect-ratio-in-unity.html
thank you! that is in fact a good read!
But how could I have it always staying on a certain position of the screen, like the UI? and in a certain size?
Your answer
Follow this Question
Related Questions
canvas screen space camera rotation issue 0 Answers
Galak Z like UI element 0 Answers
Stop character from moving out of camera sight 1 Answer
UI Canvas with split Camera 0 Answers
Game Resolution and Scaling Unity 2D 0 Answers