private void findTargets(Geometry geometry) {
        Mesh mesh = geometry.getMesh();
        if (mesh != null && mesh.isAnimated()) {
            targets.add(geometry);
        }
    }
If specified the geometry has an animated mesh, add its mesh and material
to the lists of animation targets.
jme3-core/src/main/java/com/jme3/animation/SkeletonControl.java