Help with fixed contact point

Hey!

I'm trying to pull a simple application. I need a string and objects (such as socks and christmas ornaments) to be on it. For example, somebody drags a sock and puts it on the string. Now he can just move it along the string (which is not a straight line, rather a collection of lines or a sinusoidal shape.) If he drags more items onto the string, they interact between themselves (one can push others, but not fall off). One other thing, is that they are not chained at the top of the sock, but rather in an arbitrary point along the sock.

I'd appreciate any idea and help.

Please F1!

-- gawd0r

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