I am developing a platformer with 2D gameplay and have a camera script set up that nicely follows the player character. Now, I would like to constrain this following movement:
For this, I need some kind of way to limit the camera's field of view to specific lower/upper bounds, ideally in a way that is independent of the camera's distance to the player (independent as in "allows for the camera distance to change and still work"). Is there a way to accomplish this with Unity?
asked Apr 17, 2011 at 05:50 PM