So I'm basically trying to get my camera to smoothly move towards the center of the position between the character and the mouse pointer. This is the code I wrote for it.
This works fine but it's not smooth at all. I was experimenting with movement a bit, but it's not working well. Anyone have tips?
Additionally, how can I alter the equation I wrote to make the camera appear closer to the player instead of at the halfway point? Like perhaps 1/3rd of the way between the player and the camera.