RhemaGames / godot-cameraman

Camera Scripts for Godot
GNU General Public License v3.0
1 stars 1 forks source link

AutoZoom #11

Open bflanagin opened 1 year ago

bflanagin commented 1 year ago

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.