Llama Labs Interactive
  • Introduction
  • Asset Creation
    • The Crate Series
      • Blender Basics
        • The Base Model
        • Edit Elements
        • Blender Common Tools
        • Simple Materials
        • Useful Techniques
        • Exporting the Asset
        • Summary
      • Materials and UVs
      • Palette & Gradient Texturing
        • Palette Approach
        • Creating the Material
        • Unwrapping UVs
        • Finalizing the asset
      • Tileable Textures
        • Creating the Texture
        • Creating the Material
        • Unwrapping the UVs
        • Finalizing the Asset
      • Trim Sheets
        • Creating the Texture
        • Creating the Material
        • Unwrapping UVs
        • Finalising the Asset
      • Hand Painted Assets
      • High polygon Assets
    • VRM Avatars
      • Getting Started
      • VRM for Blender
        • Installation
        • Rigging the Avatar
        • Weight Painting
        • Blend Shapes
        • VRM Details
        • VRM Export
  • Hyperfy
    • Custom Avatar Animation
Powered by GitBook
On this page
  1. Asset Creation
  2. VRM Avatars
  3. VRM for Blender

Rigging the Avatar

This page goes into the details of rigging your avatar meshes.

PreviousInstallationNextWeight Painting

Last updated 3 months ago

There are a couple of different ways to apply an avatar model to a skeleton, also known as rigging.

Rig is both the name of the skeleton and the action of applying the skeleton to the mesh. Blender uses Armature as the skeleton as well.

There are two common ways to rig an avatar, manually or automatically, both with pros and cons. Either approach is fine, and understanding both will allow you to customise and polish your avatar. The Mixamo approach is faster and easier but requires more tools such as (to autorig the avatar) and (to rename the bones from Mixamo automatically).

  • Export your models as an .fbx from Blender.

  • Go to the Mixamo website .

  • Use the Upload Character button on the right.

    • If your .fbx does not work, try using a .obj instead.

  • Select Next.

  • Position the key points on your avatar as needed. The points will include the following :

    • Chin

    • Wrists

    • Elbows

    • Knees

    • Groin

  • You can turn symmetry on/off as needed at the bottom.

  • Use the Next button at the bottom for processing (which will take a moment).

  • Select the Next button.

  • Test other animations using the Mixamo library, this can help decide if you need to do any cleaning up in your 3D application.

  • Download the result with the 'Download' button at the top right.

    • Remove any animations that you tested with before exporting the file as this will export the animation, not the avatar itself.

  • Selecting T-Pose on Download is recommended as the VRM requires a T-Pose to use animation correctly and this will save a step later on.

Once you have your model rigged using Mixamo, you will need to take it back into Blender to refine and export as a VRM.

Hyperfy Tools

Hyperfy Tools automatically renames the Mixamo rig bones to VRM compatible names. If this is not done, your VRM will not work.

Installing Hyperfy Tools

Using the Hyperfy Tools Add-on

  • Select the Armature.

  • Select the Hyperfy tab at the top right of the Viewport.

  • Select the 'Mixamo > VRM' button.

Custom Bones

As VRMs only use a specific rig for animation it is rare to utilise custom bones unless you have custom animations on the platform for the specific bone names you create. It is possible however to add custom bones for secondary animation that bounce or spring to the movement such as for hair, capes, long ears, tails etc. These do not need to be manually animated as the tool adds a spring effect to the bones themselves.

The easiest way to add bones in Blender is to go into 'Edit' Mode on the armature/rig and use duplicate and extrude on bones. Make sure that all the bones are part of the one rig. If they are separate rigs then it will not work.

  • Select the Armature/rig/skeleton

  • Go into Edit mode, or press tab to enter Edit mode.

  • Select a bone and use 'Shift + d' to duplicate it.

    • Use a bone under the parent you would like you new bones to be under. eg. if you want something parented to the spine, select the upper arm.

    • After duplicating you can easy position the bone using the usual 'G' to position, 'R' to rotate, and 'S' to scale.

  • To reparent a bone, select the target bone, then shift + click the parent bone. Right click and select 'Parent > Make > Keep Offset/Connected'.

  • Add extra bones to a limb by extruding a current bone.

    • Press 'E' to extrude or use the Extrude button on the left of the viewport. You can select the end of the bone, or the bone itself.

Create the standard VRM Skeleton / Rig

  • Make sure that 'VRM for Blender is installed.

    • If not, check the Installation docs.

  • Select the 'VRM' tab at the top right of the viewport. If it is not visible, press 'N' or use the arrow at the top right.

  • Select the 'Create VRM Model' at the top of the 'VRM' tab. It may take a moment to display.

  • As the rig is a default VRM height, scale the model to the created rig to get a good starting point using the Scale tool (S). Use the pelvic bone or shoulders as a good staring point.

    • If you want a shorter or taller avatar, you can scale the rig as needed.

  • Select the rig and go to Edit mode (Tab) and adjust the bones to their rightful position using the Position (G).

    • Use the 'Use X Mirror' at the top right of the viewport to mirror your edits.

  • Use the 'Snap' tool with 'Volume' selected at the top of the viewport to help position joints in the centre of a mesh. This is especially useful for the fingers.

  • To display the Bone Axes, go to the 'Object Data Properties' with the rig selected and turn on 'Axes'. You can then use the 'Roll' tool in the 'Item' tab to adjust as you need to.

Custom Bones

As VRMs only use a specific rig for animation it is rare to utilise custom bones unless you have custom animations on the platform for the specific bone names you create. It is possible however to add custom bones for secondary animation that bounce or spring to the movement such as for hair, capes, long ears, tails etc. These do not need to be manually animated as the tool adds a spring effect to the bones themselves.

The easiest way to add bones in Blender is to go into 'Edit' Mode on the armature/rig and use duplicate and extrude on bones. Make sure that all the bones are part of the one rig. If they are separate rigs then it will not work.

  • Select the Armature/rig/skeleton

  • Go into Edit mode, or press tab to enter Edit mode.

  • Select a bone and use 'Shift + d' to duplicate it.

    • Use a bone under the parent you would like you new bones to be under. eg. if you want something parented to the spine, select the upper arm.

    • After duplicating you can easy position the bone using the usual 'G' to position, 'R' to rotate, and 'S' to scale.

  • To reparent a bone, select the target bone, then shift + click the parent bone. Right click and select 'Parent > Make > Keep Offset/Connected'.

  • Add extra bones to a limb by extruding a current bone.

    • Press 'E' to extrude or use the Extrude button on the left of the viewport. You can select the end of the bone, or the bone itself.

Applying the Rig to the Avatar

  • Once you rig is complete you can apply it by parenting the mesh to the rig.

    • Select the meshes first.

    • Hold shift and select the rig last.

    • Right Mouse Click and select 'Parent > Armature Deform > With Automatic Weights.

      • This will attempt to rig the character automatically, but will usually require correction by weight painting.

  • To test your results, go to Pose mode at the top left of the viewport with the rig selected and rotate the bones.

If you need to polish or add Spring Bones into your avatar you will need to do some Weight Painting. Weight Painting is applying vertices to bones by weight, and for that we have the next tutorial!

Using Mixamo may save a fair amount of work during the Rigging stage, but will require some renaming of bones due to VRMs requiring very specific bone names to work. This can be done quickly with tools like .

Download or install the Hyperfy Tools Addon from the .

Mixamo
Hyperfy Tools
here
Hyperfy Tools
website