Hi,
I have been working the last couple of days on a free camera that can pan when hitting the border.
This has worked, only i have never been able to make it stay inside the monitor. when moving the camera with the mouse it always ends up outside my game session.
Here is a demonstration
On my right side is my second monitor. the side my mouse dissapears to is the side where i have my extra monitor.
I have done some research myself and only came across solutions that required third party changes which i wasn’t interested in.
If you have a solution for this problem i would love to hear it.