I want to develop a "scrollview" in Unity.
Basically I have a Parent Game Object on the screen with many items inside it. The Parent Game Object is big enough so it goes outside the screen.
I developed a scrolling script so when the user drags the parent object, I move it and it looks like scrolling.
I did this by implementing the OnMouseDrag event.
How can I calculate the inertia and apply it so when the user drags it fast, it continues to move?