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 › A "rigid" chain of rods
Page Index Toggle Pages: 1
A "rigid" chain of rods? (Read 505 times)
A "rigid" chain of rods?
Mar 1st, 2009, 10:07pm
 
Hi,

I'm trying to sketch a chain of rods in 3D, like the 2D demo of translations (http://processing.org/learning/basics/arm.html)  but with somewhat of independent movement based on inertia, like the numerous particle demos out there.

The closest question comes to: is there a good way to simulate a chained rigid bodies in Processing?  I've tried doing it using particles a while back, but as far as I can see, it's not suited for this type of simulation (particles will fly apart if distance is kept constant by strong force).

Any suggestions?
Re: A "rigid" chain of rods?
Reply #1 - Mar 2nd, 2009, 11:42am
 
Search (on this board) BoxWrap2D, the Processing library for JBox2D, a physics simulation library. It handles precisely inverse cinematic and gravity, among other things.
Re: A "rigid" chain of rods?
Reply #2 - Mar 2nd, 2009, 7:00pm
 
Thank you so much!  I'll take a look at it.
Page Index Toggle Pages: 1