How to make draggable object to slide with a bit inertia?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • After you have a dragable object, you can add inertia by calculating the distance between the two last touch points and the angle between them, and then apply movent using trigonometry. It is a good practice to try and do this yourself, but there should be some example files and widgets laying around. I can make you an example later or tomorrow if you're still stuck. Remind me if i forget.

  • I need inertia only in X axis. I have an object (which acts like a mover for the group of others, that distributed over it) so when i move it by 1 slide touch it goes left and right. And so if i scrolled (swiped) it AND released touch - thats the time where inertia needed. And you said two points - and me still can't get whats the second? Just +10-20% depending on initial speed?


    After you have a dragable object, you can add inertia by calculating the distance between the two last touch points and the angle between them, and then apply movent using trigonometry. It is a good practice to try and do this yourself, but there should be some example files and widgets laying around. I can make you an example later or tomorrow if you're still stuck. Remind me if i forget.

  • Thanx man, i downloaded the mfa from there, and scrolling there really works.
    But i can't get where it is - the mechanism actually. All commands are kind of static, and i though there will be maybe some easing or trigoometric functions used.
    I of course will do a more depth research in that example. But a bit stuck right now.
    Please login to see this attachment.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!