A trick to make it easy is to make sure every piece shares the same pivot position before exporting. When you bring the exported mesh into defold it will assemble together without any work.
Yea this would be ideal, there is one thing in the way of making this happen and we may need to create a github feature request for it. So #textureN Used for getting/setting model texture for unit 0-7
and is used like so "texture0"
, "texture1"
etc. This is the way we change textures which was fine except now that the model component can have more than one material it applies to all materials being used. The textureN should be unique slot names (which you would set in each material) or the api for textureN needs to take into account the material you are wanting to use the property on. This would be a feature that would need to be fleshed out but it makes since to have a feature for this as textureN becomes less useful for multi-material models as of now.