private List<String> childNames(PhysicsLink link) {
        assert link != null;

        String linkName;
        if (link == torsoLink) {
            linkName = torsoName;
        } else {
            linkName = link.boneName();
        }

        List<String> result = new ArrayList<>(8);
        for (String childName : listLinkedBoneNames()) {
            Joint bone = findBone(childName);
            Joint parent = bone.getParent();
            if (parent != null && findManager(parent).equals(linkName)) {
                result.add(childName);
            }
        }

        return result;
    }
Enumerate all immediate child BoneLinks of the specified bone/torso link.

@param link the bone/torso link (not null)
@return a new list of bone names
jme3-jbullet/src/main/java/com/jme3/bullet/animation/DacLinks.java