Open jackhumbert opened 4 years ago
@jackhumbert nice work, I would use this. Some thoughts:
godot.script
, to avoid colliding with other blender plugins? I'm also imagining we could use custom properties for more in the future, and could "namespace" them all with a godot
prefix (godot.metadata
would be cool in the future).Foo.tscn
in the export dir, or "godot.script=res://Foo/Bar.gd" uses a script at an absolute path. That being said, materials already work like this, so maybe we just go with the flow :shrug:
I made some quick changes that allow you to export Godot scene instances with empties named like
Tree.tscn
for doing some level design inside of Blender, and automatic association of scripts if thescript
custom property is set to something likeTree.gd
on meshes (it's probably applicable to other types as well). You can see the changes on my branch here: https://github.com/godotengine/godot-blender-exporter/compare/master...jackhumbert:f/scenes_and_scriptsIs this something that would be useful? I'd love any feeback on it before opening a PR.