I've never done a tutorial before, so I apologize in advance if something is not quite right or not everything is clear.
How to put the model from MakeHuman into Godot with animation
Programs used:
- Godot 3.4
- MakeHuman 1.2
- Blender 2.93
Step 1. Creating the Model in MH
1.1 In this case, for the example, we take an almost standard model of
Basic female Joel Palmius.
1.2. For the animation you need to assign a Rig. Here we have chosen a simple CMU.
Step 2: Import into Blender and assign the animation
2.1. We load the model in Blender with MPFB2. You need to switch from the rig selection tab in MH before doing this. If the rig selection tab is open in MH, Blender will give you an error.
(2.1.optional). Duplicates the collection with the character (this step is optional if another, prepared animation will be used).
2.2 An animation is assigned via Retarget BVH. (Animation from the CMU is used here).
(2.2.optional). In order to make the character walk in one place, the "Hip" bone constraint is assigned (in pose mode), by the standing still character duplicated in the previous step.
2.3 The model is triangulated. The character is placed in a zero pose (frame 0) (not necessary anymore) and imported into .escn. What should not be imported should be marked as "Disable in Renders". There are plugins that allow the engine to open Blender files directly.
02_01.bvh File size: 254KB
Step 3. Animated model in Godot
3.1 Open (or create a new) project in the engine.
3.2 Put the .escn file in the project folder. The sequence is not important: you can put the file to the ready project at once or import it there.
3.3 The .escn scene file is opened (Open Anyway).
There is a little problem here. For some reason, textures are not picked up. It is therefore desirable to prepare textures in advance and place them in the folder with the project. The textures are assigned. For textures of eyes it is necessary to set the flag "Transparent".
3.5 Select AnimationPlayer and press Play (Shift+D).
tutorial_final .mp4
This is one way to put the animated model from MakeHuman in Godot.