rope joint with variable length

Hi,

I got a circle and a rect and would like to connect them with a rope.

On top of that I would like to vary the length of the rope during the game.

Is there a way?

Best, J [import]uid: 55806 topic_id: 9456 reply_id: 309456[/import]

how do you want the rope’s lenght to be changed? Do you want it to change instantly or gradually?

for example:

do you want it to go from 10 pix to 100 pix instantly or from
10 pix to 100 pix gradually?
Maybe you mean randomly generate the length of the rope?

If you can post some codes, I think that will be more helpful.
Good luck :slight_smile:
check out my game:
Touch Cannon – a **FREE** game

please rate :slight_smile: [import]uid: 12455 topic_id: 9456 reply_id: 34634[/import]

The length should change gradually. Like in cut the rope, where you can pull the cookie closer with a winch.

Up till now I don’t have any intersting code, just a box and a circle, which I want to connect with such a pullable rope.

Is this possible with corona and box2d?

[import]uid: 55806 topic_id: 9456 reply_id: 34648[/import]