How to create camera acceleration for smooth camera movement on mouse movement?

How to create camera acceleration for smooth camera movement on mouse movement?

What we are trying to do is that when we move mouse, camera should start moving slowly and then pick up speed and when we stop moving mouse, camera should stop gradually ,something like fade in out gradual movement, not start at full speed or stop immediately.

Thank you

I’m looking to do the same thing. The closest I can get is people saying “Have you tried using RInterTo?” but there’s no guides on HOW to use RInterpTo so that I can achieve this. A simple how-to on how to smooth mouse input to camera would be most welcome!

Try this:

I gave that a go, but it just seemed to amplify the camera movement and didn’t smooth or ease the start or end of the movement. What’s the theory behind the function?

Ah! Yeah, that function is to do exactly that. What you want to do is follow this tutorial and rework parts of it for your camera:

Let me know if it helps!

Separating the camera component from the movement was the key I was looking for. Brilliant, thanks!

No problem! :slight_smile: