This video shows how to create a distance joint.

Read along:

Help us caption & translate this video!