Question by
Grateyfratez · Aug 25, 2017 at 04:25 PM ·
camerascreenfollow player
How can I rotate a camera to keep an object within screen bounds?
Instead of keeping the object centered on screen, I want the camera to rotate to keep the object within screen bounds. As long as it's within bounds the camera won't move, but once it moves out of bounds the camera would adjust to keep the object on screen (but still at the boundary I set rather than centered on screen).
Comment