Modal child mashes approach using TranformNode issue:

I’m building a React + Babylon.js 3D viewer that loads a .glb model (fulljaw.glb) and allows toggling child meshes like "Upper" and "Lower". However, when I click to show the "Upper" model, I get:

javascript

CopyEdit

Model not found or invalid: Upper undefined

I logged scene.meshes but "Upper" doesn’t seem to be there. The model loads fine otherwise.
Any idea why the mesh might not be found or how to reliably reference named child meshes in a .glb?

A playgound would be helpful.

I’m not sure if child meshes appear in scene.meshes. What about using

transformNode.getChildren(c=>c.name=='Upper',false)[0]

Could you share the glb or a repro in the playground ?