Verlet physics

Topics: Developer Forum
Apr 5, 2010 at 8: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 16, 2010 at 11:44 PM

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.