Voxelers / 3d

3D in Voxelers
Apache License 2.0
9 stars 1 forks source link

Importing Blender animations into Godot #60

Open acs opened 1 year ago

acs commented 1 year ago

For modelling and animating, Blender is more complete than Godot, so the workflow normally will be to work in Blender for modelling and animation and then add the game/experience logic in Godot.

Controlling the already defined animation in Godot so it is fired according to the game logic is key. Let's explore in this ticket howto export animations from Blender and import them in Godot.

It is basic to read the importing process in Godot The animation import options provides different ways to import the animations in Godot. And there are some hints for adding collision detection to imported objects, for example. In order to make the characters interact in the game, it is vital to have collision detection.

acs commented 1 year ago

I have tested the complete workflow going from Mixamo, to Blender and to Godot, and it works perfectly.

Mixamo

Screenshot from 2022-10-13 04-56-53

Blender

Screenshot from 2022-10-13 04-56-02

Godot

Screenshot from 2022-10-13 04-51-30

Godot play

Screencast from 13-10-22 04:53:59.webm

acs commented 1 year ago

And I have tested also that you can manage the animation from Godot GDScript. It is a bit tricky and with complex animations like this one, probably it is no scalable.