Hello all.
So I’m working on a 2D fighting game and currently, I am trying to make it so the player always stays within the camera view after the max zoom limit has been reached.
They will still be able to move, but they cannot move any further after the max zoom limit has been reached.
However, the problem is that the player will continue to keep moving out of the camera’s view once the max zoom limit has been reached.
I couldn’t really figure out a solution, so I searched online to see if there were any questions similar to this, but to no avail. There were some that were from different game engine forums, but the situation was vastly different from mine.
Don’t write out a script or anything. Just some tips or ideas that could guide me to the solution would be good enough. Thanks :),