Home Website Youtube GitHub

Build Rig bug in 5.07

I’ve been using Mgear for exporting into unreal. When building a rig compared to the latest 4.3.0 mgear, it creates random transform nodes inbetween the joints which basically makes it act crazy in Unreal when exported. These transform nodes don’t exist when built in 4.3.0.

Maybe I’m building it wrong but still works fine in the older 4. versions.

Mgear is amazing btw.

Ok so i’ve had this bug in the past. and i don’t think its unique to a specific version.
It has something to do with wonky scales values.
The way i get around it is this :

Say you get the transforms on the right leg but not on the left, delete the right leg in the guide and mirror the left leg. and re-generate your rig.

if that doesn’t fix it, try selected the core component of the part of the guide (Say the get this in the IK Leg, for some reason i always get this bug in the legs) and the root component is set to a scale of 1, 1, 1. select all those values and set them to 1 again. sometimes there are suuuper small values after the 1 that maya keeps track of and you don’t see.

Let me know if this explanation makes any sense, if not i can provide screen shots later.
GL!

1 Like

This is realted with the scaling and rounding precision in May. It should be fixed. But if you can provide some sample or step by step to reproduce it, I will check it again.

Ideally please create a ticket on github.
Thanks!

Thanks Miquel!

Ok it looks like it works great if you build in 5.07. If you have a guide made in 4.3.0 with scaling, THEN it happens when that guide is built in 5.07. I tried reimporting the guide I made as a template and building that in 5.07 but then still seems to happen.

I can make a ticket.

1 Like

Adding more context since ticket has already been created in github.

mgear 5.0.7, Maya 2022
Steps:
Create Chain_02 component. duplicate using Shifter; offset Y and rotate Y by some degrees. no other setting changes.

Non 90 degree increments have extra transforms in built skeleton

Some more testing. Extra transforms seem to get built when the Root object’s rotation is not at 90 degree increment. The chains are created with X as primary axis. and rotated around Y or Z axis will create extra transforms.

Non-uniform scaling in the guide does not create extra transforms.

Extra tranforms will occur one or more of the of the following happens
Root has non-90 increment rotation in secondary and tertiary axis
First segment in the guide has offset in secondary and tertiary axis, affects rotation of the Root
No rotation on the Root, but Blade offset to non-90 degree increments
Rotation on the root and Blade offset do not total to 90 degree increments