This project has moved and is read-only. For the latest updates, please go here.

Verlet physics

Topics: Developer Forum
Apr 5, 2010 at 9:48 PM

Hi All,

        Is it possible to do cloth like simulation with box2d. I seen this article on would i better trying with silversprite or has anyone experience doing verlet in box2d?



Apr 17, 2010 at 12:44 AM

I'd think so. I don't know what the easiest way is, but here you go. Maybe create a 2d array of bodies and connect a spring to each neighbor. Another way would be clever use of the chain factory. As long as you aren't talking about collisions, I don't see what the problem would be.