Hello,
I spent the whole day reading the docs and I cannot figure out how to create an inherited scene from a GDScript.
I'm trying to do that within a post_import script, my goal is to import my Blender file directly as an scene inherited from an existing "character.tscn" packed scene
I have a character.tscn
scene that I want all my imported scenes to inherit from. My plan was to add a custom script from the import tab, in which I would, within the post_import()
method, I would create an inherited instance of character.tscn
, and then add the content of my Blender file as children of that instance.
The PackedScene interface does have an instantiate() method but no apparent way to extend a PackedScene.