Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 2.15 KB

File metadata and controls

46 lines (36 loc) · 2.15 KB

RigifyToUnity

Converts Rigify rig to Humanoid compatible

Installation:

  • Download this repo as zip archive
  • In Blender Open Edit tab -> Preferences... -> Add-ons -> Instal... -> choose the downloaded zip archive
  • You can find the Addon under Rigging category, there should be "Rigify to Unity" addon

Usage:

  1. Create Basic Human Rig
  2. Press "Generate Rig" from Rigify tab
  3. Make sure newly generated rig is selected (named just "rig")
  4. Press "Prepare rig for unity" from Rigify to Unity converter tab

⚠️ Do it before weight painting as some deform bones will be removed

  1. Do something cool!
  2. p.s. Check "Only Deform Bones" when exporting to exclude unnecessary bones from fbx

Before and after

Ritty cat rig

Use Prepare Ritty rig for Unity directly on an unconverted generated rig. Do not run the standard conversion first; the Ritty button runs the standard conversion and the Ritty-specific steps together.

The Ritty conversion adds the following behavior without introducing additional bone renames:

  • Rebuilds any DEF-tail, DEF-tail.001, ... bones as a numeric chain and parents the first available tail bone directly to root.
  • Rebuilds the DEF-ear.L and DEF-ear.R chains and parents their first bones to DEF-head (or the standard conversion's source head bone).
  • Parents DEF-belly.C to DEF-spine.002 and DEF-Breast.C to DEF-spine.003 when those custom body bones exist. Each DEF bone receives a Copy Transforms constraint targeting the same rig's matching ORG-* bone.
  • Removes DEF-pelvis.C after moving any child bones to DEF-spine. Transfer any DEF-pelvis.C mesh weights to DEF-spine before running the converter.
  • Keeps the original standard button available for non-Ritty rigs.

The converter changes and removes bones. Run it on an export copy of the generated Rigify rig if the original control rig must remain intact.

This script basicaly follows this tutorial
https://docs.unity3d.com/560/Documentation/Manual/BlenderAndRigify.html

Script inspired by legacy https://github.com/trynyty/Rigify_DeformBones