UMG Slider soft Snapping (BP)
Does anybody have any tips on Slider snapping in the UMG? I have seen BP examples of snapping to a position on a slider, however I am wondering how I would go about making these snaps snap into position with some tweaning or a proximity snap that doesn't just jump instantly into position?
Basically I'm looking to improve the look and functionality of dragged/touch snapping so it does't feel so robotic.
asked Nov 17 '17 at 03:59 PM in Blueprint Scripting
As you said, snapping to a fixed position is easy, and can be made to work with mouse, touch or keyboard :
Snapping with keyboard or tap + interpolation is also pretty trivial:
Now, snapping with a mouse drag/touch + interpolation is an order of magnitude more complicated all of a sudden because you're constantly overriding the value of the slider while the interpolation is trying to do its magic. That's how the slider works, unfortunately.
I believe it would be easier to write your own slider rather than trying to wrestle with the existing one. 2 images placed in a canvas should do the trick.
It should/could work, is untested but might be worth exploring.
If I ever figure out an easy way to do it, I'll try to post it here. Or perhaps someone else will beat me to it.
Follow this question
Once you sign in you will be able to subscribe for any updates here