Hello,
I would like to be able to control my scroll view (Unity UI) via the Leap Motion Controller.
For this, I've calculated some simple variables, such as initial tip position, and current tip position to find a difference. This can then be fed to the scroll system, right?
Just wondering if there is a more better way to do this? For example, could I take speed into account? So if the user essentially 'flicks' the hand up fast, the scroll will occur fast.
Basically - just like the iPhone screen; If you flick your finger up the screen fast - the scroll will occur very fast. However, if you simply drag the finger up and down the screen - the scroll view will follow under the finger position.
I would like to copy this, and I know that Unity UI Scroll has these 'elastic', and 'inertia' features. I just simply need to tap into them.
Thanks.