- Home /
 
 
               Question by 
               alek123 · Apr 13, 2014 at 09:13 AM · 
                cameragameobjectviewfit  
              
 
              How to Fit CameraView to Object
Hi, guys can someone tell me how can I fit a CameraView to Objcet. How to calculate where camera should go to see only this object.
So I will put a GameObject into a scene and when trigger will active a srcipt then a CameraView will only show this GameObject. So left corner of camera view should be on left corner of gameobject , right corner of camera view should be on the right corner of gameobjest etc.
Is any easy way how can I to that ?
               Comment
              
 
               
              Your answer