0
Answered

DAE exporter copying all properties

David3R 7 years ago updated by tmpxyz 7 years ago 3

Hello, I am trying to make a humanoid animation where I only animate part of the model, and then use it in a layer in the animation controller to modify the base animations (I'm trying to make a character carry a torch, so the animation im making is the left arm holding a torch, which should then be layered on top of walk/run/etc animations).


When I use the DAE exporter to export the animation, and then import it as a humanoid clip, the resulting animation contains properties for ALL bones of the model, which means I cannot layer it, as it just overrides the base animation fully.

Is there some way I'm missing to export only the properties that I actually animated, so it can be used for layering?

Answered

Hi, David Kudal,


Thanks for your feedback :)


 then import it as a humanoid clip, the resulting animation contains properties for ALL bones of the mode

The generic clip we exported doesn't contain curves for extra bones, the new curves you see in the humanoid clip are curves for "muscles". this is how Unity humanoid clip system works. 


which means I cannot layer it, as it just overrides the base animation fully.

You can layer it. Try using the avatar mask.

https://docs.unity3d.com/Manual/AnimationLayers.html


There's another method too, you can duplicate the clip from the DAE archive with "selecting the clip, then ctrl+d", the duplicated clip will be modifiable, then you can delete all the curves you don't need;


Avatar mask is the standard workflow by Unity, we would recommend you use it too.


Best regards,




Thank you, avatar mask worked perfectly!

Glad to hear that! Keep up the work.