ID:177966
 
Recently, I tried adding a new feature to my game with little success. Normally, when you walk to the edge of the map (on a big map), you see the black void part that's not really part of the map. I wanted to make it so you never see this void, basically setting up a boundary for client.eye so that it never moves so you can see the void. I tried this to some extent, but with little success... client.eye went screwy when a player neared the corners or the very edges of the map.

Does anyone have any idea of how to make this happen?
Check the hub for s_eye by Spuzzum.
In response to Nadrew
That's perfect, thanks.