For clarification: I don't need to know how to rotate the camera. What I'm asking instead is how the movement of the camera AFTER the mouse move is calculated (the "slow fade out"). I've tried a lot, but it never looks right to me.
I have uploaded a video here.
This video shows a camera settling behaviour.
In this video, the mouse pointer is moved swiftly from left to right.
The camera however does not abruptly start moving to the other direction, instead it settles in the previous direction before going to the other direction.
I would like to know how this is settling is done. I have tried really much to recreate this behaviour:
Taking into account the overall speed until the next zero mouse movement, fading out the last non-zero mouse movement, just anything that I could think of.
Could anybody tell how he thinks this could be done?