We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Drag on object (Read 691 times)
Drag on object
Nov 30th, 2009, 12:32pm
 
How do you achieve drag on an object?
I realize the amount object.x, object.y change needs to be reduced with time, but I don't know how to achieve this "drag" effect.
Re: Drag on object
Reply #1 - Dec 1st, 2009, 12:55am
 
I suggest to type drag object in the Search processing.org box at the top of this page.
You will get lot of answers, code snippets, etc.
I believe there is even an example shipped with Processing.
Page Index Toggle Pages: 1