DacWizard/src/main/java/jme3utilities/minie/wizard/Model.java
/**
     * Determine the parent (in the link hierarchy) of the named linked bone. A
     * C-G model must be loaded.
     *
     * @param childName the bone name of the child (not null, not empty)
     * @return the bone/torso name of the parent
     */
Determine the parent (in the link hierarchy) of the named linked bone. A
C-G model must be loaded.

@param childName the bone name of the child (not null, not empty)
@return the bone/torso name of the parent
Determine the parent ( in the link hierarchy ) of the named linked bone . A C - G model must be loaded . @param childName the bone name of the child ( not null not empty ) @return the bone / torso name of the parent
String linkedBoneParentName(String childName) {
        assert childName != null;
        assert !childName.isEmpty();
        if (rootSpatial == null) {
            throw new RuntimeException("No model loaded.");
        }
        String name;
        Skeleton skeleton = findSkeleton();
        if (skeleton == null) {
            Armature armature = findArmature();
            Joint child = armature.getJoint(childName);
            Joint parent = child.getParent();
            if (parent == null) { 
                name = DacConfiguration.torsoName;
            } else {
                name = findManager(parent, armature);
            }
        } else {
            Bone child = skeleton.getBone(childName);
            Bone parent = child.getParent();
            if (parent == null) { 
                name = DacConfiguration.torsoName;
            } else {
                name = findManager(parent, skeleton);
            }
        }
        return name;
    }
String linkedBoneParentName ( String childName ) { assert childName != null ; assert ! childName . isEmpty ( ) ; if ( rootSpatial == null ) { throw new RuntimeException ( "No model loaded." ) ; } String name ; Skeleton skeleton = findSkeleton ( ) ; if ( skeleton == null ) { Armature armature = findArmature ( ) ; Joint child = armature . getJoint ( childName ) ; Joint parent = child . getParent ( ) ; if ( parent == null ) { name = DacConfiguration . torsoName ; } else { name = findManager ( parent , armature ) ; } } else { Bone child = skeleton . getBone ( childName ) ; Bone parent = child . getParent ( ) ; if ( parent == null ) { name = DacConfiguration . torsoName ; } else { name = findManager ( parent , skeleton ) ; } } return name ; }
Determine the parent (in the link hierarchy) of the named linked bone.
Determine the parent ( in the link hierarchy ) of the named linked bone .
// the named Joint was a root joint
 // the named Bone was a root bone
