-
Expression for a sting/chain hanging between two points
Ok, here is a tricky expression problem for people.
I am trying to create a chain that hangs between two points that independently move. To do this I am using an image of straight piece of chain with the puppet tool and 3 pins, one in the center, and one at either end of the chain. I marry the two end pins to my two moving points, with an expression, and I at first tried to hand animate the center pin, but it is very hard to get it to move convincingly.
For this purpose, I don’t care about momentum or drag. What I need is an expression for the center pin that takes the positions of the two end pins, and some gravitational constant, and computes the position of the center pin that hangs down between the other two.
Any ideas?
Thanks,
-Matt