static Transform[] readTransformArray(InputCapsule capsule,
            String fieldName) throws IOException {
        Savable[] tmp = capsule.readSavableArray(fieldName, null);
        Transform[] result;
        if (tmp == null) {
            result = null;
        } else {
            result = new Transform[tmp.length];
            for (int i = 0; i < tmp.length; ++i) {
                result[i] = (Transform) tmp[i];
            }
        }

        return result;
    }
Read an array of transforms from an input capsule.

@param capsule the input capsule (not null)
@param fieldName the name of the field to read (not null)
@return a new array or null
@throws IOException from capsule
jme3-jbullet/src/main/java/com/jme3/bullet/animation/RagUtils.java