Is there a way to select a specific MeshInstance by the name? I am trying to establish a workflow from SketchUp to PlayCanvas. I would prefer to bring model assets over from SketchUp as organized assets with named sub meshes. Instead of bringing over everything asset individualy.
I can bring over a SketchUp model asset with named sub meshes (SketchUp groups). I can see the names of the meshes in the editor, which is great; but it looks like I can’t access the name via script. I can only access the MeshInstance array.
Doable or not yet?
This is what I have been playing with:
targetEntity.model.model.meshInstances[0].name
Thanks in advance!