- Home /
Add "drag" to slider
Is there a way to add "drag" to a slider like we add drag to a rigidbody?
In other words, can I limit the speed of the slider, so while it is clicked on and moved left or right it keeps moving in the direction of the cursor but at a maximum speed that I can control. Something like Lerp towards the cursor desired axis?
I just would like it NOT to be just at the exact position of the cursor but, instead to follow it progressively.
Was looking if I can achieve this with Lerp/Slerp but can't find anything related.
Help will be very appreciated :)
Comment