Hello, I am pretty new to Unity and cannot figure out how to correctly implement this one feature.
My practice game includes a rolling sphere that grows in size during the game. The camera view is top-down and I am trying to have the camera move up as the sphere grows so that the sphere doesn’t inhibit your view and also does not reach the end of the view.
In other words, I want the sphere to appear the same size on the view by moving the camera the perfect distance away as the sphere grows.
I have tried messing with the formulas in some of the documentation for things like frustum height of the camera in relation to distance but have not successfully implemented this feature.