This is how I parenting all parts to access them later:
var parent = new BABYLON.Mesh(obj.name, scene);
for (mesh in objArray) {
var tempMesh = objArray[mesh];
tempMesh.parent = parent;
tempMesh.parentMoveToo = true;
}
Is there some thing wrong in it?
objArray is response of :
BABYLON.SceneLoader.ImportMesh("", obj.root, obj.image, scene, function (objArray) {