Page 1 of 1

Modelling chain effect

PostPosted: Thu Mar 19, 2009 8:14 pm
by Drain_Pipe
So Basically I wanted to try an create an ability which generates a chain attaching a hero to either the ground or another object, or simply drags on the ground.

The problem is I'm not quite sure how to code for a chain like that since I want to include sag and tension in the chain (ie it will drag on the ground unless you try and run away and tighten it. The basic idea would be multiple points with "point masses" linked together but I'm not sure of the math or physical relationships involved. Anybody ever see chain-like abilities? The one's in pudge wars is interesting though I'm not sure how that one's coded...