Conceptually this would be used for things like encyclopedias or other library functions. We can used two raycast points (maybe four) to determine if the object is in view. Once the Object is no longer intersecting with the raycast objects the camera will stop zooming out. It will zoom back in until the object intersects the raycast objects and then stop. This will insure that both zoom in and zoom out work.
Later we should consider adding an effect to this to make it feel more like an actual camera man.
Conceptually this would be used for things like encyclopedias or other library functions. We can used two raycast points (maybe four) to determine if the object is in view. Once the Object is no longer intersecting with the raycast objects the camera will stop zooming out. It will zoom back in until the object intersects the raycast objects and then stop. This will insure that both zoom in and zoom out work.
Later we should consider adding an effect to this to make it feel more like an actual camera man.