Hey, I´ve got a problem with zooming in a map with orthographic projection.
When my Camera is on the edge of the map the camera stops, thats working. But how can move a camera away from the edge when zooming out?
Strictly speaking, zooming out an Othro cam does nothing (since it ignores depth,) but I assume you are increasing the Size value, to make it wider?
Just change the edge limit. If the world ends at 100 and the cam is 10 wide, limit is x=90. As you “zoom” back to 15 wide, edge limit is 85. Just keep limits as Left+Size and Right-Size. Then make sure the zooming part of the code applies the limits (in case you only check limits when they move the cam.)