Arminando / GameRig

GameRig is an auto rigging for games addon for Blender. Built on top of Rigify, it adds rigs, metarigs and additional functionality that enable game engine friendly rig creation. Open source and can be used for personal and commercial projects.
https://www.patreon.com/arminhalac
GNU General Public License v2.0
244 stars 17 forks source link

Why the parent of deformed bones is not the root bone? #22

Open iillya opened 1 year ago

iillya commented 1 year ago
Snipaste_2023-03-02_11-02-47

Why the parent of deformed bones is not the root bone? UE engine needs the root bone animes.

arminHalac commented 1 year ago

The "root" bone is just a control bone which will be deleted on export. The "DEF-char_root" bone is the actual root that is supposed to be used in UE.

iillya commented 1 year ago

The "root" bone is just a control bone which will be deleted on export. The "DEF-char_root" bone is the actual root that is supposed to be used in UE.

But the default root bone is more intuitive as the root bone than adding an extra one,and it conforms to most naming conventions

arminHalac commented 1 year ago

I agree. It is not ideal. The only reason it is like this is that rigify hard coded the name "root" into the world control and I did not have time to restructure the whole thing.

iillya commented 1 year ago

I agree. It is not ideal. The only reason it is like this is that rigify hard coded the name "root" into the world control and I did not have time to restructure the whole thing.

Hi,I have an idea.Is this okay? https://youtu.be/kRjSQZbwHfw

arminHalac commented 1 year ago

It seems to work fine. And whatever works is okay :)

iillya commented 1 year ago

It seems to work fine. And whatever works is okay :)

Hi,I wrote a piece of code to reparent the bones.Are you considering adding this feature in the future?

Snipaste_2023-03-07_18-14-53
neilfranci commented 8 months ago

@iillya Do you use Game Rig Tool? It will generate a deformed game rig to use in the game engine. The one you're tweaking is just a control rig. I use Export to Godot and it works fine. blender_cDvYvfKYhb