Is there a way to keep object in the screen and don't allow it to go off? The screen resolution is adjustable at start, camera is orthographic in this case.
What I can think of now is to sort of create a imaginary box along with camera's orthographic line, and use that to determine if an object has intersect with the boarder, if it did then offset it into the screen.
Or maybe I will just create a wall around that box, so the object can't go off.
Is there any better way?