Cloth simulating

I messed around with joint chaining, and made a semi-cloth simulate sort of deal:

http://www.youtube.com/watch?v=6azkHq49gyU
http://www.youtube.com/watch?v=51aN8EEuFqk

Let me know what you think or if you've done this before and know how to do it better!

-P
Very cool. I would like to test this out in Farseer Physics 3.2. You think you can email me the snippet you used to create it? [email hidden]
http://code.google.com/p/box2c/source/b ... s/Cloth.cs
Looks great, how does it perform? Does it lag a lot?
The first one did, the second one didn't.

-P
Looks nice Paril.

I created a spider web in Farseer Physics Engine 3.2 a few days back that reminds me a lot of the cloth simulation you made. It is really hypnotic and I think starring at it for more than a few minutes might cause damage to the brain 😉

http://www.youtube.com/watch?v=4ion0VhZHuI
Neat. Quite laggy though; the first cloth there had about 1900 joints and it ran pretty smooth. I was able to dumb it down to about 900 and have it still look nearly the same though.

-P
I ported over the cloth code to Farseer 3.2 and it ran smooth as butter.
Nice 🙂

If you can figure out how to make it more cloth-like, go ahead.

I had a lot of trouble trying to get ripping to work properly too, because of the way the mass affects the entire structure, and a lot of times you get the "shower curtain effect" at the top. If you can fix that, I'll love you, because I have no idea how to go about it..

-P
@Matthew: Could you send me the ported code?

Original thread: https://box2d.org/forum/viewtopic.php?t=6124