BlenderGameRig

Rigging framework for game development. Hard fork from Rigify.

47
9
Python

Blender GameRig

Read this in other languages: English, 日本語.

Rigging Add-on for Blender

Rigging framework for game / realtime content development. Hard fork from Rigify (official add-on).

How to use

Install GameRig to your blender

Download zip file for install from Releases Page.

download link

Back to Blender and open Preference Window, and click ‘Install…’ button.

addonpanel

Choose downloaded zip file and click ‘Install add-on from File…’ button.

installaddon

Then GameRig will be found in Add-on list (filtering by categoly ‘Rigging’, you can find faster), click check box to activate.

addedaddon

Add ‘metarig’

Mode: Object Mode

Hotkey: ⇧ A

Menu: Add → Armature → GameRig

add metarig menu

added metarig

Adjust metarig

Edit metarig armature, let it fit to your character mesh.

adjusted metarig

Set vertex group for armature deforming.

GameRig will copy bones without renaming differs from ‘rigify’, you can test armature deforming with metarig armature.

setup vertexgroup

Add additional bones

If your model has hair / cloth / etc. bones, add these too.

These bones will be copied to generated rig.

If they have constraints and/or have drivers, these will be copied too with right target.

final metarig

Generate rig

When you are ready, click ‘Generate New Rig’ Button of Armature Properties tab.

armature panel

Done.

generated rig

Parent mesh objects to rig armature.

parenting

In pose mode, you can make pose or animation with generated rig featuring IK/FK blending, etc.

posing

Rig’s special parameters and functions will be available in ‘GameRig Properties’ panel that be placed on Item tab of Sidebar.

properties

Regenerate rig

If you feel some bones have bad positions, it means you need to edit metarig again, but you can regenerate rig quickly after edit metarig.

Edit metarig again, and click ‘Regenerate rig’ button to apply changes.

regenerate

Note:

Please confirm current collection contains target rig to overwrite.

Otherwise, gamerig generate a new rig to current active collection.

wrong collection

Deference from Rigify

Clean hierarchy

GameRig dosen’t rename original bones and dosen’t add deform bone and dosen’t insert any bones to original bone tree.

More suitable for game / VR content development.

unity mechanim avatar

Multi Face Rig

More flexible face rig.

multihead metarig
multihead rig

Blend animation and physic simulation result

‘generic’ and ‘tentacle’ rig can blend between own result and metabone’s constraint result if metabone have constraint.

rigphysicsblend

Tips

How to use with an existing armature

An armature not recognized as GameRig’s metarig, the armature’s properties panel has no GameRig panel.

Then you cannot setup metarig with existing armature.

no gamerig panel

In this case, add ‘Single Bone’ metarig and join (Ctrl + J / Menu Object→Join) an existing armature to it. And remove ‘root’ bone from metarig if you don’t need it.

add single bone

Gamerig panel will be available in armature properties panel.

joined armature

In pose mode, you can set rig parameter in GameRig Rig Type panel that be placed on bone properties tab.

edit rig type

Why ‘Unity Mechanim/Human’ metarig has X 90° rotation

By deference of coordinate system between Blender and Unity, imported mesh lie down in Unity with a fbx file exported by Blender. This is a reason of metarig has X +90° rotation (GameRig generates a rig with same rotation as metarig).

imported fbx 1

Rig armature having X +90° rotation and their children having X -90° rotation, and settings of export fbx are:

  • scale is 0.01
  • ‘Apply Unit’ is off
  • ‘Apply Transform’ is on

and Unity side import settings are:

  • Scale is 1.0
  • ‘Convert Unit’ is off

parent has x +90° rotation
child has x -90° rotation
export setting
import setting

These settings make imported fbx object having right orientation and clean transform (no rotation, no scaling) on Unity.

Note:

For combination of Blender 2.80 and Unity 2019.1

I was using deferent settings for same effect in Blender 2.79 and Unity 2018.4 era.

no rotation and no scale

License

GNU GENERAL PUBLIC LICENSE