so my camera is like a leash. theres a min and a max distance the player can be from the camera and when they are greater than the max distance, the camera follows them, or if the distance is less than the min distance, the camera backs up. In the sweet spot between the min and max, the camera is stationary and just looks at the player.
My problem is that if the player is strictly moving left or right with no forward or backward input, the player should just orbit around the camera at whatever their current distance is. The way it is now, the player slowly drifts away to the max distance. How to go about fixing this?
