particular distance joint

Hi there,

I have a problem concerning physic joints, in fact I don’t know how to do want i want to do :stuck_out_tongue:
I have two object which user can control separately by joypad. Imagine a line between them. I wish they can’t go away from each other by a specified distance. In this case the one going in the opposite direction will drag the other one. So it seems like a distance joint but i don’t want the distance to be fixed, i want a maximum distance, i mean they can come closer .
How can i do with corona to simulate this joint ?

Thanks for any help !
Oliv’

PS : I can provide my code if it can help ^^ [import]uid: 142384 topic_id: 24886 reply_id: 324886[/import]