Hello,
I’d like to import a glTF model and do the following thing with it:
- Maintain the separate meshes for texture/material handling;
- Group the meshes so I can transform it;
- Fade in/out the whole model (animating visibility).
Problem is that when I use BABYLON.Mesh
(basically an empty mesh) as a parent, it doesn’t have dimensions so I cannot create an instance out of it (I get a warning). When I use BABYLON.TransformNode
I cannot animate the visibility of the whole thing (because a TransformNode
is not a mesh).
Is there a way to group all the meshes of an import so I can animate/transform the model and still have access to the ‘submeshes’?
Thank you!