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.
IndexProgramming Questions & HelpOther Libraries › physics question
Page Index Toggle Pages: 1
physics question (Read 1024 times)
physics question
Oct 19th, 2006, 6:31pm
 
Anybody know of a good way to make a free particle in the traer physics library *not* react to gravity but still be mobile?
Re: physics question
Reply #1 - Oct 19th, 2006, 7:20pm
 
Yah. Particles in traer.physics don't react to gravity unless you apply a Gravity object to them. Instead just use addVelocity or Springs and use a good dampening value on the ParticleSystem.

This example uses no Gravity or Springs.
Re: physics question
Reply #2 - Oct 19th, 2006, 8:13pm
 
Well, I've got particles that I want to react to gravity, so I want to have gravity that will pull them down, but I also want to have a springboard whose free particles are not affected by that gravity. It occurs to me that I could just make a separate particle system for those because the I've got to handle the collision of the falling particles with the springboard myself, anyhow.
Page Index Toggle Pages: 1