SpatialTransformer and XMLImporter/Exporter

Hi folks,



I've a new question. I create a SpatialTransformer and export it with the XMLExporter. If I now load the xml-file with the XMLImporter and add it to rootNode, the rootNode knows the SpatialTransformer but the animation doesn't run. The spatial is already in the final position.



Does anybody know why?





the export:

XMLExporter.getInstance().save(st, new File(System.getProperty("user.dir") + "\Transformer\transformer"+i+".xml"));




the import:

SpatialTransformer st = (SpatialTransformer) XMLImporter.getInstance().load(trans[i]);
                        rootNode.addController(st);