MinieLibrary/src/main/java/com/jme3/bullet/animation/DacLinks.java
/**
     * Access the named link. Returns null if the name is invalid, or if the
     * control is not added to a spatial.
     *
     * @param linkName the name of the link (not null, not empty)
     * @return the pre-existing link, or null if not found
     */
Access the named link. Returns null if the name is invalid, or if the
control is not added to a spatial.

@param linkName the name of the link (not null, not empty)
@return the pre-existing link, or null if not found
Access the named link . Returns null if the name is invalid or if the control is not added to a spatial . @param linkName the name of the link ( not null not empty ) @return the pre - existing link or null if not found
public PhysicsLink findLink(String linkName) {
        Validate.nonEmpty(linkName, "link name");
        PhysicsLink link;
        if (linkName.startsWith("Bone:")) {
            String boneName = MyString.remainder(linkName, "Bone:");
            link = findBoneLink(boneName);
        } else if (linkName.equals("Torso:")) {
            link = torsoLink;
        } else {
            String boneName = MyString.remainder(linkName, "Attachment:");
            link = findAttachmentLink(boneName);
        }
        return link;
    }
public PhysicsLink findLink ( String linkName ) { Validate . nonEmpty ( linkName , "link name" ) ; PhysicsLink link ; if ( linkName . startsWith ( "Bone:" ) ) { String boneName = MyString . remainder ( linkName , "Bone:" ) ; link = findBoneLink ( boneName ) ; } else if ( linkName . equals ( "Torso:" ) ) { link = torsoLink ; } else { String boneName = MyString . remainder ( linkName , "Attachment:" ) ; link = findAttachmentLink ( boneName ) ; } return link ; }
Access the named link.
Access the named link .