- Home /
Question by
davidrochin · Jan 18, 2018 at 07:45 PM ·
camerasceneobjectsboundscalculations
Adjust Ortographic Camera Size so it fits objects of my scene automatically
I want to make a script that ajusts my Ortographic Camera Size so it fits the objects in my scene, but I have no idea how.
For the position of the camera, I guess I can use Bounds to find the center and position my camera according to it.
For the Size I have no idea.
camera-problem.png
(182.4 kB)
Comment
Your answer
Follow this Question
Related Questions
Finding objects on scene 1 Answer
Destroy All Objects In The Scene??? 1 Answer
Setting inactive objects as active after click on gui button? 1 Answer
Displaying a collision with Obstacle with text on screen? 0 Answers
Is it possible to have 2 separate lighting solutions in 1 scene for 2 separate cameras? 2 Answers