Sep 22, 2011 at 7:17 PM
Edited Sep 22, 2011 at 7:21 PM
I'm having some difficulties with the behaviour of my chain. I've created a chain via LinkFactory.CreateChain() (I modified the method to return the List<Body> instead so I can get their positions/draw them etc.) I'm now trying to attach the chain
(see it as a dangling grappling hook), which comes out fine by itself, to my cursor (a flying saucer) by each update setting the position of the first link in the chain to the position of the mouse. The first link does indeed move around with the mouse but
unfortunately the rest of the links don't quite follow, or well, they do - but scattered at various distances.
So yeah, my question is How do I attach the chain links to each other "harder", so they won't jitter around from a distance?
Thanks in advance!
Edit: By the way, I'm getting the same results when attaching the chain with a revolute joint to a body moving with the cursor.