MHX rig clear constraint problem.

Issue #2164 invalid
bouich jules created an issue

Hi!

I noticed a big bug, that is causing me a lot of issue.

Once i am done animating, i clear constraint, to export to my game engine.

however i noticed that once i do that the some of facial animation is broke with MHX, and specially the JAW morphs.

Please note this is the exact animation and left have the mouth closed when i cleared the constraint.

Thank you!

Comments (13)

  1. Alessandro Padovani

    To clear the constraints and export to game you have first to transfer IK to FK, as usual.

    If there’s nothing to add you can close as invalid.

  2. bouich jules reporter

    Hi Alessandro,

    i obviously did that, but i am speaking about the jaw bones and some facs.

    Thank you

  3. bouich jules reporter

    To reproduce,

    Import G9 -) standard morph - MHX

    Import another copy g9 same steps

    Import your animation/facs to the G9

    the on the copy g9 snap fk all, bake with clear constraint and go action editor change the action to the main animation of the main G9

    it will not be same.

  4. Alessandro Padovani

    FACS is mostly shapekeys, if you look at the bones you’ll see they don’t move much. To bake shapekeys you can use: daz runtime > posing > bake shapekeys.

    However, if you export to games, the easy way is to export to fbx, that will bake both bones and shapekeys via the fbx exporter.

  5. Thomas Larsson repo owner

    I tried a very simple animation, just changing the jaw open morph, and then baked with the options below. Seems to work for me.

  6. bouich jules reporter

    Hi Thomas,

    Those 2 are the exact same facs, one with clearing constraint and one without.

    I added the FACS that cause the issue in attachment, please clear constraint like this and import, you will notice its different.

  7. Alessandro Padovani

    Again, bake action doesn’t bake shapekeys, to bake FACS you also need to bake shapekeys.

  8. Thomas Larsson repo owner

    Bouich, did you try to keep the daz rig with mhx? Enable Keep DAZ Rig when generating mhx. Then you can animate bones and morphs for the mhx rig as usual. When you are done, select the deform rig and Posing > Mute Control Rig. This bakes both the bone and shapekey animations.

  9. Log in to comment