Very simply, I need the content of my scroll view to scroll slower than my drag as if there is resistance to the drag. I’m thinking a scroll speed variable that could actually manipulate the content to be slower or dampen or something of the like. If anyone has any advice it would be greatly appreciated.
How can i implement a scroll speed for a scroll view/rect so that my content travels slower when I drag?
You can code a scrollbar on your own:
Make the UI-Element follow your Mouse is something like this:
But I would not just let the UIElement always teleport to the mouse. I would save the offset (UI-Element to mouse) and then move the UI always to mouse plus offset
Ofc you need to play with masks…
Your needed Changes:
Make a variable x (position), where the mousePosition plus offset is. Then you calculate the vector between x and the UI-Element. Then you move your UI Element each update x.normaized multiplied Time.deltaTime multiplied ScrollSpeed