Hi,
I have created a rope using box shaped bodies joined by revolute joints, with a rope joint keeping it all nice and stable. One end is connected to a static 'ceiling' and a ball on the other end.
Does anybody have any idea how to dynamically extend or shorten the rope between the ceiling and the ball. My idea would be to destroy one of the boxes and then bring its two adjacent boxes together and join them when they are the right distance apart, and kind of the opposite for extension. But how do I bring the two other boxes together precisely enough, considering the rope may be moving in all kinds of ways, and how do I know when the are close enough? For extension the boxes would need to move apart exactly the right distance and direction to put a new link in, how would i do that?
BTW the rope could extend/shorten at the very ends of the rope, that would be preferable to in the middle
I have created a rope using box shaped bodies joined by revolute joints, with a rope joint keeping it all nice and stable. One end is connected to a static 'ceiling' and a ball on the other end.
Does anybody have any idea how to dynamically extend or shorten the rope between the ceiling and the ball. My idea would be to destroy one of the boxes and then bring its two adjacent boxes together and join them when they are the right distance apart, and kind of the opposite for extension. But how do I bring the two other boxes together precisely enough, considering the rope may be moving in all kinds of ways, and how do I know when the are close enough? For extension the boxes would need to move apart exactly the right distance and direction to put a new link in, how would i do that?
BTW the rope could extend/shorten at the very ends of the rope, that would be preferable to in the middle