Rigify To Unity Function

- This is an work in progress, this expands on the system that NyankoNyan and improves that system.

- It remaps the bone hierarchy to match Unity's expectations
- It adds necessary constraints to ensure proper bone movement (For the people who need it, can be removed via remove constraints button).
- It removes redundant bones that could cause issues in Unity.
- It renames bones to match Unity's Humanoid Avatar naming convention.
- It provides an option to merge or remove twist bones, which are not supported by Unity's humanoid system.
- It adjusts bone connections and deformation settings.

I think more needs to be added, but this seems to work for now.
This commit is contained in:
Yusarina
2024-09-20 16:48:51 +01:00
parent 218628c053
commit a3111644af
4 changed files with 197 additions and 0 deletions
+3
View File
@@ -165,6 +165,9 @@
"Tools.merge_bones_to_parents.label": "Merge Bones to Individual Parents",
"Tools.remove_zero_weight_bones.threshold.label": "Weight Threshold",
"Tools.remove_zero_weight_bones.threshold.desc": "If a bone is not weighted to any part of any mesh under the armature with a threshold greater than this, it is removed",
"Tools.convert_rigify_to_unity.label": "Convert Rigify to Unity",
"Tools.convert_rigify_to_unity.desc": "Prepare Rigify armature for use in Unity",
"Tools.convert_rigify_to_unity.success": "Rigify armature successfully converted for Unity",
"MergeArmatures.select_armature": "Please select an armature",
"MergeArmatures.title.label": "Merge Armatures:",
"MergeArmatures.label": "Merge Armatures",