Simulating a hanging chain

Blitz3D Forums/Blitz3D Programming/Simulating a hanging chain

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Okay, I'm trying to simulate a chain hanging under the influence of gravity. The chain is made up of discrete links. As in a real chain, the links cannot stretch, so each link can vary from the next in rotation only.

I've tried a few different methods to get this working (only in 2d at the moment) but nothing's really worked. Does anyone have a suggested algorithm to get this working?