Distance Joint Between two Polys

Hi all,

I have two polys.When I add a distance joint they are connected between their center points:
Attachment:
image0.png
image0.png [ 19.06 KiB | Viewed 38 times ]


But this what I want:
Attachment:
image1.png
image1.png [ 19.92 KiB | Viewed 38 times ]


Basically I want to add distance joints between specific points that I used them to create polys. I used this editor to get points:
http://www.actionsnippet.com/swfs/polygon_editor.html

How can I do this? Thank you!!

Original thread: https://box2d.org/forum/viewtopic.php?t=5841