Mesh Not Attaching Properly to Bone

I’m trying to attach a sphere to a GLB model rigged with a Mixamo skeleton,

but I’m unable to do so. The sphere attaches fine to other GLB models. You can see the issue with the Mixamo model in this Playground and a working example with another rigged model in this Playground. Can anyone help me figure out why the Mixamo model isn’t working?

Hello,

I think both work, but Mixamo one is not the same scaling. It might me a matter of metrics, adding a factor 1/100.
Try replacing

sphere.scaling = new BABYLON.Vector3(0.3, 0.3, 0.3);

by

sphere.scaling = new BABYLON.Vector3(30, 30, 30);

And it works : Playground

2 Likes

Thanks, Jedi! :heart_eyes: You’re the best!