JakeCataford / unity-tinkerbox

A Collection of game-independent unity scripts.
5 stars 1 forks source link

Camera Behaviour Should be able to focus multiple points at once #2

Open JakeCataford opened 10 years ago

JakeCataford commented 10 years ago

We should be able to calculate where two or more points of interest are in the world and change the camera's zoom level to frame all the objects. This is a good feature for Co-op Gameplay or Boss battles where there is an important enemy.

This feature should include a maximum zoom so that the camera cant get too far away.

JakeCataford commented 10 years ago

Fyi I would probably have a focus array, then we can push objects to it to tell it to frame them.