private void addJoints(PhysicsLink parentLink) {
        List<String> childNames = childNames(parentLink);
        for (String childName : childNames) {
            /*
             * Add the joint and configure its range of motion.
             * Also initialize the BoneLink's parent and its array
             * of managed bones.
             */
            BoneLink childLink = findBoneLink(childName);
            childLink.addJoint(parentLink);
            /*
             * Add the BoneLink to the pre-order list.
             */
            boneLinkList.add(childLink);

            addJoints(childLink);
        }
    }
Add joints to connect the named bone/torso link with each of its
children. Also fill in the boneLinkList. Note: recursive!

@param parentLink the parent bone/torso link (not null)
jme3-jbullet/src/main/java/com/jme3/bullet/animation/DacLinks.java