MinieLibrary/src/main/java/com/jme3/bullet/animation/DacLinks.java
/**
     * Enumerate immediate child BoneLinks of the specified bone/torso link.
     *
     * @param link the bone/torso link (not null)
     * @return a new list of bone names
     */
Enumerate immediate child BoneLinks of the specified bone/torso link.
@param link the bone/torso link (not null)
@return a new list of bone names
Enumerate immediate child BoneLinks of the specified bone / torso link . @param link the bone / torso link ( not null ) @return a new list of bone names
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()) {
            if (armature == null) {
                Bone bone = findBone(childName);
                Bone parent = bone.getParent();
                if (parent != null && findManager(parent).equals(linkName)) {
                    result.add(childName);
                }
            } else {
                Joint armatureJoint = findArmatureJoint(childName);
                Joint parent = armatureJoint.getParent();
                if (parent != null && findManager(parent).equals(linkName)) {
                    result.add(childName);
                }
            }
        }
        return result;
    }
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 ( ) ) { if ( armature == null ) { Bone bone = findBone ( childName ) ; Bone parent = bone . getParent ( ) ; if ( parent != null && findManager ( parent ) . equals ( linkName ) ) { result . add ( childName ) ; } } else { Joint armatureJoint = findArmatureJoint ( childName ) ; Joint parent = armatureJoint . getParent ( ) ; if ( parent != null && findManager ( parent ) . equals ( linkName ) ) { result . add ( childName ) ; } } } return result ; }
Enumerate immediate child BoneLinks of the specified bone/torso link.
Enumerate immediate child BoneLinks of the specified bone / torso link .