Babylon seems to have the plugin ExtrasAsMetadata, which should add glTF extras properties to mesh.metadata.gltf.extras
However, I can’t seem to find these extras properties after importing a mesh in the Playground example (console.log(mesh.metadata) shows an empty object)
Here is the glTF file used, which has a single cube with the data:
"extras":{
"test":"hi"
}
Would anyone know what I’m doing wrong here? Thank you for your help
Thank you so much, @Joe_Kerr ! I did export it via Blender with the Custom Properties box ticked
Turns out that the Custom Properties have to be defined in the “Object Properties” pane in Blender for the object instead of its “Object Data Properties” pane