public void removeAnimClip(AnimClip anim) {
        if (!animClipMap.containsKey(anim.getName())) {
            throw new IllegalArgumentException("Given animation does not exist "
                    + "in this AnimControl");
        }

        animClipMap.remove(anim.getName());
    }
Remove an animation so that it is no longer available for playing.

@param anim The animation to remove.
jme3-core/src/main/java/com/jme3/anim/AnimComposer.java