getAttachmentNode() attach a spatial

Hello guys,
I created an animated character, exported to JME, removed the geometries by detleting the “material_26 child” saved the file to rig.j3o

then removed the animCOntrol and SkelletonControl from my character

then I did this in my code :

[java]Spatial rig = assetManager.loadModel(“Models/Male1/rig.j3o”);
Spatial male1 = assetManager.loadModel(“Models/Male1/Male1.j3o”);
Spatial hair1 = assetManager.loadModel(“Models/Hair1/Hair1.j3o”);

    rig.getControl(SkeletonControl.class).getAttachmentsNode("root").attachChild(male1);

rig.getControl(SkeletonControl.class).getAttachmentsNode(“root”).attachChild(hair1);[/java]

and the animations don’t work, I can see the models, but they don’t move :confused:

src=“http://img713.imageshack.us/img713/3209/33o8.jpg” alt="" />