private void filterBoneList(SkeletonControl skeletonControl) {
        Mesh[] targets = skeletonControl.getTargets();
        Skeleton skel = skeletonControl.getSkeleton();
        for (int boneI = 0; boneI < skel.getBoneCount(); boneI++) {
            String boneName = skel.getBone(boneI).getName();
            if (boneList.contains(boneName)) {
                boolean hasVertices = RagdollUtils.hasVertices(boneI, targets,
                        weightThreshold);
                if (!hasVertices) {
                    boneList.remove(boneName);
                }
            }
        }
    }
Remove any bones without vertices from the boneList, so that every hull
shape will contain at least 1 vertex.
jme3-jbullet/src/main/java/com/jme3/bullet/control/KinematicRagdollControl.java