You can create kinematics contacts between bodies of a mechanism by selecting the bodies that come into contact, adjusting their mesh, and specifying the contact properties.
The default value for the mesh density is 35. You can specify a value between 0 (coarse mesh) and 100 (fine mesh).