GLTf Import: How does one get Metadata/Extras?

Godot Version

4.4 Stable

Question

  1. In Blender I place Suzanne. I go add a Custom Property prop and give it a value. Save.
  2. In Godot, it imports the blend file and in the properties, under mesh I can see those properties in a dict named metadata/extras:

How do I get hold of that dict in gdscript? I’ve tried all the dot this and that I can think of.

Did you try Object.get_meta()? That should be the way.

Never tried from Blender, but that is the metadata interface.

1 Like

Ah, I see:

print(scene.get_child(0).mesh.get_meta("extras")) Worked!

Thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.