/Rigify-To-Unity

Converts Rigify rig to Humanoid compatible

Primary LanguagePythonMIT LicenseMIT

RigifyToUnity

Converts Rigify rig to Humanoid compatible

This fork attempts to salvage already weight mapped rigs by merging vertex groups of deleted/deactivated deform bones into active ones. It also attempts to reparent bones which do not translate correctly.

Installation:

  • Download this repo as zip archive
  • In Blender Open Edit tab -> Preferences... -> Add-ons -> Install... -> 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

⚠️ This operation can take a long time, depending on the amount of meshes and polygons the armature contains.

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

Before and after 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