Heya!
So I've just discovered that the camera constraints seem to apply to the camera's position, rather than the the camera's viewport? Forgive me if I'm wrong!
I feel like constraints should test what the camera can see and restrict its movement based on screen edges, rather than position. As I just started up my game in 4:3 (been designing in 16:9) and can't get to the side of my scene.
Thanks!
Comments
Camera limits are dependent on many factors: camera size, shape, distance and FOV all contribute. I'm not sure that it's possible to provide a built-in option to set a "visual" limit regardless of aspect ratio.
However, I've posted a script on the community wiki that interpolates camera limits based on pre-defined values when using 16:9 and 4:3 aspect ratios. You can find it here.
@gumboots: If you are happy to share your own script, it would be very welcome on the wiki.