How do i know the bones name?

Yes thank you @ayrin I also figured it out, I ended up actually still using any object in the scene. Turns out the model component has another .model that you have to use to another .model to get to the .graph

var gun = this.entity;


this.app.root.findByName("item").entity.model.model.graph.findByName("LeftHand").addChild(gun);


gun.setLocalScale(1/this.scale.x, 1/this.scale.y, 1/this.scale.z);
// Other various positioning measures were taken, 
// but they weren't necessary for the attachment to the hand itself.
1 Like