phcon_add(PH_BALL, entity1, entity2) is what you are looking for to join two pieces together.