Hi,
I am trying to recreate a very simple rope using box2dflash. I have simulated the rope by joining a bunch of squares each connected by a distance joint. The very top square is then connected to a static block at the top so as to give the effect of a rope hanging from the ceiling.
The problem is that if I move the very bottom square it causes an elastic effect and the rope bounces up and down in an elastic fashion, causing the joints to stretch. All the squares are of equal density. Strangely, if I reduce the number of squares to like 10, then this problem goes away but returns when I use 40 or so squares.
How can I maintain a fixed distance between the joints and stop this 'springy' effect? I thought the distance joint was supposed to maintain a fixed distance between the bodies?
Thanks!
I am trying to recreate a very simple rope using box2dflash. I have simulated the rope by joining a bunch of squares each connected by a distance joint. The very top square is then connected to a static block at the top so as to give the effect of a rope hanging from the ceiling.
The problem is that if I move the very bottom square it causes an elastic effect and the rope bounces up and down in an elastic fashion, causing the joints to stretch. All the squares are of equal density. Strangely, if I reduce the number of squares to like 10, then this problem goes away but returns when I use 40 or so squares.
How can I maintain a fixed distance between the joints and stop this 'springy' effect? I thought the distance joint was supposed to maintain a fixed distance between the bodies?
Thanks!