Hi. I would like to restrain my camera from going over a certan value. So i need to calculate the MinX MaxX MinY MaxY my camera can move. This should work for any viewport size. How do i do that ?
Hi. I would like to restrain my camera from going over a certan value. So i need to calculate the MinX MaxX MinY MaxY my camera can move. This should work for any viewport size. How do i do that ?