Hello, i start thinking an adoption is more easy than parenting a child to a node. I tried this
equip: function () {
this.shield=app.root.findByName("shield");
this.lhand = this.model.findByName('Bip01 I Mano');
alert(this.shield);
this.shield.reparent(this.lhand);
var scale = this.entity.getWorldTransform().getScale();
this.shield.setLocalScale(1/scale.x, 1/scale.y, 1/scale.z);
this.shield.translateLocal(0,2,0);
},
but the shield i wan to parent simply disapear, maybe if i create the shield entity instead try to parent an existing one works better? The translateLocal is needed to move the shield in the desired position?