How to give physics constraint component a mesh?

The mesh may be like that in the Oculus tutorial, as the picture below:

132100-20170330.png