- Home /
Camera View Position in relation to UI
Hi there,
I'd like to set a camera whose view is always on a position in relation to the UI. I know that you can create something similar by manipulating the camera's View Rect, but the problem is, that I'd need it to stay always on the same position in relation to certain buttons etc., and to stay in the same resolution, similar to a minimap or radar. Does anyone have an idea how to achieve this? Annnnd the camera should always show the same view, say the same perspective of an object.
Thanks in advance!
ok, it helped with having the view always on the object - thank you for that! :)
Any suggestions regarding the views positioning? I looked through the learn section, but i couldn't find a proper example...in the video it is said that there would be a further tutorial part on camera, but there isn't. or at least I couldn't find it...
Answer by BilboStabbins · Dec 09, 2014 at 06:10 PM
If it's like a minimap/radar then it sounds like you need more than one camera. One for the world and another for the object/map/radar.
Yeah i have more than one camera, but the "object view" doesn't move with the UI as I want it to if i change the resolution of the game...
Your answer
Follow this Question
Related Questions
UI Canvas with split Camera 0 Answers
Healthbar does not follow camera/appears behind gameObjects 0 Answers
Google Cardboard not rendering Worldspace UI with distortion 2 Answers
Is there a way to make camera position/scale what I see on scene view? 1 Answer
UI with layer always displaying 0 Answers