x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Blender FBX Animation Bones Default to Parent Translation

So, I've run into an issue importing FBX files from Blender and I'm trying to figure out if the issue should be reported to Unreal or Blender. Edit: Using Blender version 2.73a.

The issue is that if a bone in an armature in an animation has no change (location, rotation, scale), then frequently, the resulting deformation in UE4 ends up being distorted, where child bones may default to the position of the non-changing parent bone.

Here's an example where the thigh bones default to the position of the root bone: alt text

In order to fix the incorrect deformations, I have to add a some token change to the root bone to fix the thigh bones. In this case, I had to add key change of a micrometer to the root bone's translation on frame 60. alt text

However, as you can see, now the shoulders seem to be distorted. This leads to a whack-a-mole of adding small trivial changes to the animations to fix those incorrect animations. In a final change, I rotate the shoulder a fraction of a degree. alt text

I've attached the Blender files that outline the problem and the changes I've made successively to fix the arising issues. link text

Product Version: Not Selected
Tags:
more ▼

asked Mar 01 '15 at 03:00 AM in Bug Reports

avatar image

Alphanumber
6 1 2 4

avatar image Adam Davis STAFF Mar 01 '15 at 04:29 PM

Which version of Blender are you using? In Blender 2.73 there seems to be a known issue with their FBX exporter that causes bone deformations upon importing to other programs.

avatar image Alphanumber Mar 01 '15 at 04:33 PM

Yes, I am using Blender 2.73a.

avatar image Adam Davis STAFF Mar 03 '15 at 12:36 AM

If you have a copy of blender 2.72 or 2.70 does this error still occur?

avatar image Alphanumber Mar 03 '15 at 08:38 PM

Export from 2.70 works ok, but then 2.70 only export to 6.1 ASCII format. Export from 2.72 breaks using FBX binary format as per the error described.

Including exported fbx files for reference: link text

avatar image Adam Davis STAFF Mar 04 '15 at 08:25 PM

Hi Alphanumber,

Thus far I haven't been able to reproduce the error with the model you sent. Can you show me what import settings you are using?

avatar image Alphanumber Mar 04 '15 at 08:49 PM

Here are my export settings: alt text

avatar image Adam Davis STAFF Mar 04 '15 at 09:09 PM

I mean the import settings when you import the model into UE4. These may help to determine what is occurring.

avatar image Alphanumber Mar 04 '15 at 09:50 PM

Apologies. Here are my import settings: alt text

avatar image Aptann Mar 04 '15 at 09:11 PM

Are you by any chance using disconnected bones?

edit:

Yes you are. I've had this exact issue using disconnected bones as well. The bone will maintain it's offset when it's connected to the root bone, but when disconnected it'll "fall down" to the root bone.

I believe the issue lies with Blender's FBX exporter. Exact same result is seen in assimp.

avatar image Alphanumber Mar 04 '15 at 10:33 PM

I've spent a good two weeks exploring many possibilities, even making sure that the deforming bones are all connected from root to leaf bones.

Here's a rig where all the deform bones are connected and the corresponding result in UE4:

alt text

link text

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi Alphanumber,

I apologize for the delay in getting back to you, I was out of the office for a few days. However I have some great news! We were able to get your asset to work in the editor after exporting using the 6.1 ascii exporter in blender 2.73 with some very specific settings. Below are the settings we used in Blender and in the Editor to export/import. Additionally, you may want to ensure that your base pose is at a proper T pose by zeroing out any transformation values. Finally, make sure that your hand IK targets are zeroed out. These may be causing some of your errors on export.

alt textalt text

capture.png (27.8 kB)
capture2.png (404.0 kB)
more ▼

answered Mar 13 '15 at 05:33 PM

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question