How to attach a weapon(Gun) to a character bone?

Actually looks like the bones has scales applied, so the resulting model was very small.

Added this code to re-scale it:

var scale = this.entity.getWorldTransform().getScale();
this.entity.setLocalScale(1/scale.x, 1/scale.y, 1/scale.z);
1 Like