Add Ball In Socket joint.

For 3D examples: use Ctrl + click + drag to drag an object.