I would like to add some momentum to a UnityEngine.UI Slider’s handle. Any thoughts on how to approach this are much appreciated.
I would try creating a script, which would capture the value (possibly in update) and calculate the speed at which the handle is moving. Then when it is released, slowly decreasing the speed, while applying it to the handle value.
Something along the lines of:
void Update()
{
if (mouseDown)
velocity = lastPos - getNewPos;
else
handleValue += velocity;
velocity -= velocity*Time.deltaTime; //probably some other way to decrease :D
}
Just a thought.