Inertia Scrolling Touch

Hello,
I have a background plane texture and a Camera on my scene. I have put a simple code found on the web to move my camera with the touch screen.

public class test : MonoBehaviour {

void Update ()
{
// Only if there are touches
if (Input.touches.Length == 1)
{
// Only work with the first touch
// and only if the touch moved since last update
if (Input.touches[0].phase == TouchPhase.Moved)
{
//float x = Input.touches[0].deltaPosition.x * SmoothTime * Time.deltaTime;
float y = Input.touches[0].deltaPosition.y 2 Time.deltaTime;
transform.Translate(new Vector3(0, -y, 0));
}
}
}
}

Someone knows how to add a simple inertia/smooth effect? I have found some examples on the internet but they were a bit complicated for me (and linked to GUI so it’s not my case).

If someone can drop me an example of code to use or an hint to progress, it will be very helpful :slight_smile:

do you still need help with this?