freakdiver

02-26-2004, 05:16 PM

Do any of you experts outthere knows any algorithm for simulating rope? or even to simulate picking up a rope from one end where the rope curls (like a sin/cos curve)?

I couldn't figure out how. The only idea i got is:

1) the rope (made up 35 balls tighly together) is lying flat on the ground (y = 0, x: 0 - 35);

2) when we pick the rope up (y=20) from x0 end, that means, for BALL0, the y will be 20, BALL1 = 19, BALL2 = 18 and so on until maybe BALL7 = 1 and BALL* onwards is still lying on the ground.

Does anybody have a simple (not confusing) algorithm?

Thanks in advance

I couldn't figure out how. The only idea i got is:

1) the rope (made up 35 balls tighly together) is lying flat on the ground (y = 0, x: 0 - 35);

2) when we pick the rope up (y=20) from x0 end, that means, for BALL0, the y will be 20, BALL1 = 19, BALL2 = 18 and so on until maybe BALL7 = 1 and BALL* onwards is still lying on the ground.

Does anybody have a simple (not confusing) algorithm?

Thanks in advance