Unable to make 3d animation working :(

Hello,

I’m trying to implement a simple 3d animation by exporting it from Blender.
I don’t use rigibody or pose or bone but just a move and scale animation.

I exported 2 dae files:

  1. The mesh without the animation
  2. The mesh with the animation. This file has been added to a “animationset” collection.

I’m unable to make it work :frowning:

Here the sources: https://github.com/stondini/defold-test-3d-anim

I found this topic [SOLVED] How to export Blender animation to DAE and import into Defold

I also tried this tutorial Blender to Defold 3D animation Guidebut still not working.

Thank you for your help.
Stephane

I am not very experienced so I’m probaly unable to help but others will be more able to help you if you expand on the problem. I can see you have shared a GitHub repository but if you share more info on this post then others with more knowledge on the subject will find it more easily. Is it that you can’t view the animations in the editor or that they don’t work when you build? If you have any build errors then those would also be useful for others to see.

Hi @stephane !

We consider our .dae support deprecated, and we recommend using .gltf format instead.

I don’t use rigibody or pose or bone but just a move and scale animation.

We do not yet support morph targets, but only skeletal animations.

Hello @loubielonglegs and @Mathias_Westerdahl

Thanks for your answers.

I was not aware that kind of animation is called a “morph target”. The official documentation mentions (Importing models) that it’s effectivement not supported.

What do you suggest in that case ?
Continue using Blender but adding a “skeletal” animation instead or directly writing the move and scale animation using Defold API ?

Many thanks.

It depends on what you want to do I think. Either should work.
What is it you are trying to do? Is it a complex hierarchy?

@Mathias_Westerdahl

Something like :

Seem that you are just wanting to animate translations and don’t need a skeletal animation, is that correct? I would suggest exporting the separate meshes as glTF then adding them to model components in separate game objects then you can use the defold api to animate the game objects as you would like to same as in the video. You can use go.animate animate properties such as scale and positions etc.

3 Likes

Thank you @MasterMind :pray:

I’m going to use go.animate function.