There is a video here that shows how the camera rotates around Leon. The camera rotates around Leon in a circle, this is not difficult, but I don't understand the timing logic.
Once given a short push, the camera keeps rotating for a few more milliseconds.
If the camera would only be rotated during the real mouse movement, the camera would not keep rotating a bit after there is no more mouse movement.
However, in this video, the camera rotates a few more milliseconds even after the last mouse movement.
How could this be accomplished?
Specifically, I would like to ask if somebody can tell me if the developers add some extra movement in the direction of the mouse movement which they then "smooth out", or if they "smooth out" the end of the user's mouse movement.