Godot Version

v4.2.2.stable.official [15073afe3]

Question

I’m importing a 3D gun model from Blender which has separate components such as slide, trigger and hammer with their own separate animations. The whole gun object is parented to an empty which has a recoil animation, see the hierarchy below:

FIG1

Exporting to glTF 2.0 and importing to Godot I get a single AnimationPlayer node which can play all component animations individually, but I’d like to play them in parallel like they behave in Blender. I know AnimationTree exists but I can’t figure it out for this use case, I’m aware it’s used to combine bone transformations and I’m not going to add bones to a gun object for this purpose because it seems unnecessary.

In summary; the gun model is separated in basic parts, most of these parts have their own animation for firing and these animations have to be played at the exact same moment.

P.S. I’m new to Godot and don’t have any real experience with 3D animations, only programming :smiley:



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *