I've got a small game, where the user uses Horizontal axis to move the camera along Z.
However, it's currently possible to have the camera looking in empty space, far from terrain. It's position doesn't have min Z and max Z. I could of course hardcode the min/max value, but I'm wondering if it could be done more nicely.
Thanks alot.