hey guys, i was wondering if there is a quick way to give a draggable object inertia properties in framer. Thanks!
The Draggable object has a calculateVelocity() method. If you get that in an Events.DragEnd event, you can build an inertia animation.
Here is some example code that should work. Just set it up like this:
dragger = new ui.Draggable(myView)myView.on(Events.DragEnd, endScrollMomentum)
And a working example: http://snappy-view-inertia.s3-website-us-east-1.amazonaws.com
Thanks Koen Bok i'll give it try! the example works very well on my ipad