Marrow Open Marrow

Guides

How to import a rigged GLB with animations into Blender

By bxzex · · Updated

Blender reads .glb files natively, skeleton, skin and every animation included. Here is how to bring in a character from Marrow, find its animations and send it on as an FBX if your engine wants one.

How to import a rigged GLB with animations into Blender: a character rigged and animated in Marrow

Import

  1. In Blender, use File, Import, glTF 2.0 (.glb/.gltf) and pick the .glb from the ZIP you downloaded.
  2. The character arrives as an armature with the mesh parented to it. Press Numpad period to frame it.
  3. Press Space in the viewport to play the active animation.

The bones may look like they point in odd directions. glTF stores joints, not bone tails, so Blender has to guess the tail of each bone. The animation is not affected.

Switch between animations

Each animation you put in the pack comes in as its own action, named after the animation. To change which one plays:

  1. Open a Dope Sheet editor and switch its mode to Action Editor.
  2. With the armature selected, pick an action from the drop-down at the top.

The timeline does not change length by itself. Set the end frame to the action's length, or turn on Manual Frame Range in the action's properties.

Keep every animation when you save

Actions with no user are removed when Blender saves. Press the shield icon (Fake User) next to each action's name, or push each one to the NLA editor as a strip.

Export FBX for a game engine

  1. File, Export, FBX (.fbx).
  2. Under Include, pick Armature and Mesh.
  3. Under Armature, turn off Add Leaf Bones.
  4. Under Animation, keep Bake Animation on, with All Actions ticked so every take is exported.
  5. Set Path Mode to Copy and press the box icon next to it to embed textures.

Unity's Humanoid retargeting and most Unreal workflows are happy with this FBX. See Unity and Unreal Engine 5.

Editing the rig

Everything Marrow made is a normal Blender rig. You can repaint weights in Weight Paint mode, add finger or cloth bones, or tweak animations in the Graph Editor, then export again. See skin weights explained for where to look first.

Put your own character on a scene you already have

Importing a .glb adds its objects to the current scene, so you can open your scene first and import straight into it. Move, turn and scale the armature, never the mesh on its own. The mesh is a child of the armature and follows it.

Render settings worth checking

Join two animations

  1. In the NLA editor, push each action down to its own strip.
  2. Place one strip after the other with 5 to 10 frames of overlap, on two tracks.
  3. Select the later strip and turn on Auto Blend In/Out, or set Blend In by hand.

If the character jumps back to the start when the second strip begins, the first animation travels. Download it again with In place on, or move the second strip’s armature to where the first one ended.

Questions

The character is lying down or tiny. Why?

glTF is Y up and in metres, and Blender turns it upright on import. If it looks wrong, another add-on or an old importer is being used. Import through File, Import, glTF 2.0 in Blender 3.6 or newer.

Can I use the animation on another character in Blender?

It works directly on any other character from Marrow that was rigged the same way, because the bones share names. For anything else it is quicker to upload that character to Marrow and download the same animation on it.

Do I need an add-on?

No. glTF import and export come with Blender and are on by default.

Open Marrow