attachToBone removes mesh from Inspector


Not sure if actually a bug. But in the playground you can see that when you attach the sphere to the bone, the sphere disappears from the mesh nodes in the inspector.

It might not be a huge issue, but I kinda needed to check some things up with the model after attaching it to the bone, and I noticed this.


attachToBone changes the parent of the mesh and thus it is no longer part of the nodes hierarchy (which comes from rootNodes). From what I can tell, we also don’t show attached meshes in the skeleton hierarchy. It would be useful to submit a feature request for this on GitHub.

I did find a somewhat clunky way to see the attached mesh in the inspector. If you use the picking tool, you can select the mesh and even though nothing is selected in the Scene Explorer view, the Inspector view will still show the properties of the mesh.

1 Like