Better collada export issues

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Joe0239

I am using Cycles Render and I have a cube with two materials, one is a Glossy BSDF (yellow) and the other one is Diffuse BSDF (white) as shown below

As you can see I have better collada extension installed.

These are the settings that I am using note that I don’t have any animations nor do I have any textures. I just have materials.

As you can see I have exported my model and I opened it up on Godot as shown. And as you can also see, the materials is not working yet.

I dragged the two materials into the materials property. Why is it still not working?

:bust_in_silhouette: Reply From: TheFamousRat

Hello Joe,

I can’t really answer for the materials, as I haven’t been able to export them myself. I had to recreate them myself in Godot. An alternative is to use the Godot Blender exporter, a plugin that exports the materials quite well. In return, I couldn’t export animations correctly with it…

As for the animations. You showed the checkboxes that you ticked for the export of your model. There’s an “Export Animation” one, that you need to tick so that the animations are exported.

I’ve had some problems with exporting animations, but I have found a workflow that globally works quite well in most cases. Firstly, do all your animations with an Armature. It means that you won’t be able to animate the modifiers of the Mesh, unfortunately. Armature will be a bit cumbursome, but it still offers a lot of possibilities, so in most cases it’s sufficient.

Then, once you’ve done your animations with a single armature, make all the meshes that are animated a child of the armature. If you don’t, the Better Collada exporter will curse at you and all the exported animations will be wonky.

Once you’re done with that, go to the exporter and tick everything except “Selected Objects”, “Apply modifier” (except if you need to), “Tangent Arrays” (not necessary, but do if you need to) and “Shape Keys”.

Normally with that workflow you should have the same animations in Blender and Godot :slight_smile:

Hope this helps