static void validate(Spatial model) {
        List<Geometry> geometries = listGeometries(model, null);
        if (geometries.isEmpty()) {
            throw new IllegalArgumentException("No meshes in the model.");
        }
        for (Geometry geometry : geometries) {
            if (geometry.isIgnoreTransform()) {
                throw new IllegalArgumentException(
                        "A model geometry ignores transforms.");
            }
        }
    }
Validate a model for use with DynamicAnimControl.

@param model the model to validate (not null, unaffected)
jme3-jbullet/src/main/java/com/jme3/bullet/animation/RagUtils.java