imagine the camera is more zoomed in following the player so you can’t see the whole room while playing, what I want is if for example the player moves to the top right and the camera is going to show outside the red line that it would stop moving and only move again if the player moves downwards. So you’re only able to see inside the room and not the surroundings.
I’ve found a dozen similar questions on other websites and everyone says just to put a volume that blocks cameras which doesn’t work for me for some reason… would posting images of my camera+spring arm+collision help?
I semi-found a solution but that brings me into 2 problems. I used 4 collision boxes surrounding the room. If the player gets inside the top/bottom or left/right ones it locks the camera on the respective axis and if he’s inside both it locks both axis.
The problems are most importantly that when the resolution changes then you may see outside the room or not even the whole room and secondly when I teleport to a new room the camera is on the player so you can see outside the room.