1
$\begingroup$

I've come across a troubling issue that I have not been able to solve. When trying to export an animated FBX file from Blender, the resulting file produces weird glitches in the foot bones of the character rig, despite the animation playing perfectly fine inside Blender initially.

I have included a link to a video of the rig with a ultra-simplified box-type mesh for an example. You can see the animation plays fine in Blender, but when you export the FBX and then re-import the FBX file you will see the feet glitching wildly. This behavior was first discovered inside UE4, but it is identical inside Blender after you import the FBX and watch the animation.

Thanks so much for your time in looking into this. If this behavior in the FBX can somehow be avoided by modifying the rig, please let me know. I have tried exporting over 30 times with different settings in both the FBX exporter and the rig itself, but have not been able to fix this.

-Adam

$\endgroup$
1
$\begingroup$

I thank God for showing me the solution! All you have to do is add a "false foot" bone that is NOT a deform bone to each leg. I named this bone FootParent.

Connect this bone to the Lower_Leg bone (which has an IK constraint). Set FootParent's Inherit Rotation and Inherit Scale to off, and add a Copy Rotation constraint which copies your Foot_IK bone (X + Y invert, Target: Local With Parent, Owner: Local).

Now duplicate this FootParent bone (or add a new one in the exact same location and orientation) and name it Foot. This will be your deform bone, and is NOT connected to anything.

Finally add 3 constraints to your Foot bone: Copy Location of the FootParent bone (Target: Local With Parent, Owner: Local); Copy Rotation of your Foot_IK bone (X + Y invert, Target: Local With Parent, Owner: Local), and optionally Copy Scale of your Foot_IK bone (Target: Local, Owner: Local). Now all your animations will export to FBX the way you created them in Blender!

$\endgroup$
0
$\begingroup$

EDIT: SOLUTION FOUND (SEE OTHER POST)

After further investigation, I believe my issue is directly related to this issue. Apparently, when exporting to FBX, you cannot both scale and rotate the parent bone, even if the child has Inherit Scale and Inherit Rotation turned off. It would be great to see a fix for this present limitation somehow. Further examples here.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.