Hi dop2000 sorry to call you out! but you helped me a while back with the Gamepad R-stick to modify the camera to look around.
So now I'm trying something similar with the mouse. But I need some suggestions since the mouse is so different from the analog gamepad sticks.
Since the mouse is always at a distance from the player (it determines the angle of the player) I pretty much always want the camera lerping to the player *and not "looking around"). I only want to "look" when the mouse is at the edge of the screen (like in an RTS game).
The issue is, when the mouse goes to the edge of the screen and I start doing the "look"(and change the pointer to show it) there's an abrupt jump and vice versa when going away from the edge. Even if I change the lerp speed its still a little "vomity" for the player. It really has to be seamless because it can be triggered accidentally.
So I think maybe there's a better way to do this? I've tried a few things but I'm a little stuck on coming up with a solution. Any suggestions? THANKS!
EDIT: it could be that I don't want to scroll back to the player after edging the screen. but then I run the risk of the "losing" the player not having them front and center. not really sure what to do. I don't know of any other games that do this. I play MOBAs that are similar, but their cameras are completely independent from the player so you can scroll around the entire map leaving your player completely off-screen (I don't want to do this).