I’m having a little trouble attaching a weapon to a bone. I can add geometric shapes like cubes and spheres to the bone but when I try to attach a model to a bone it doesn’t work.
The weapon model shows up if I add it to the scene but when I try to add it to the bone it doesn’t show up.
here’s a live link: https://jsfiddle.net/Screwhead28/e49msd65/
That’s because the bone has a transformation that is applied to all child objects and thus to the weapon. You can inspect this transformation by debugging the bone’s world matrix.
Since the bone has a very small scaling, the weapon shows up if you increase its scaling like in the following updated fiddle:
WOW Ok! been banging my head against the wall trying to figure this out. Thanks!