In the code I provided, the mesh name would end up being the name of the geometry. Jme has no concept of a mesh name.
Yes I know. And thatās a bit of a problem in my case. Iām using the mesh name to find a mesh from another library (my own concept) so that my different game levels can reuse the same mesh. In Blender I name my mesh ālink_Whateverā and that gets translated to āWhateverā which is a mesh in another library. So in a way Iām abusing the current gltf loader ābug/featureā for this. I hope I can read the custom properties from the mesh through an extension. If so I can probably solve this using that feature
You can use a Gltf ExtrasLoader for such properties which will be loaded as UserData
in JME.
Yes Iām already using that system for reading object properties. Just hope it also works for meshes
As far as I know, I donāt think there is anything for user data implemented for meshes. It would have to be stored in the geometry spatial if it was. But I can check and see if it is.