enziop / mixamo_converter

Blender addon for converting mixamo animations to Unreal 4 rootmotion
GNU General Public License v3.0
667 stars 156 forks source link

First Frame is a T-Pose #66

Closed Ultrajungleboy closed 4 years ago

Ultrajungleboy commented 4 years ago

while using blender 2.80 I noticed that the first frame of every animation original mixamo FBX file I imported had a default Tpose(even though the keyframe is not of a t pose) until the animation keyframe timeline Is accessed, this resulted in every animation in the batch output folder with a t-pose for the first frame until the next key frame was accessed however I found an annoying but usable workaround. When the timeline is clicked on the model automatically updates to the correct keyframe pose, this leads me to believe that an easy workaround for this problem could be starting to access the keyframes at keyframe 0 rather than 1, but not converting any of the keyframe 0 data, if this is not a viable solution then you could always record keyframe one twice, I would do it myself but I'm too lazy to learn python to do so lol.

However, I believe updating to 2.82 fixes this as so far it has worked for me when batch converting

xtremertx commented 4 years ago

Hi, can you make some screenshots when converting in batch and post here? I was trying multiple settings and converted animations look weird (https://github.com/enziop/mixamo_converter/issues/65). Dunno what I'm doing wrong...

Ultrajungleboy commented 4 years ago

There should be a root bone offset setting have you tried that and have you tried updating blender? Also are they the fbx itself or is it only after it’s been imported somewhere such as unity or unreal? Also do you have other animation layers that could be interfering?

xtremertx commented 4 years ago

Using FBX directly from mixamo without skeletal mesh, only animation (i have also tried with skeletal mesh & Fix Bind option). No anim. layers in UE4.

Which option are you refering to "root bone offset"? Will try to open that in blender and use latest blender too.

enziop commented 4 years ago

@xtremertx i recently heard that some fbx files from mixamo contain two animations, one with just a t-pose and one with the actual animation. Seems like the converter is selecting the wrong one in those cases. Can you tell me for which animation(s) this happens? You can tell me the exact animation by also giving me the description which shows up when hovering over the name. image

Casalis commented 4 years ago

I have the same issue but I have found it can be solved by first importing the FBX file into Blender and just exporting it then using that new FBX in the conversion. 😜

Maybe there is some kind of FBX version problem. For me, it happens with every animation I've tried so far but if you want a specific example: Falling Idle Description: mid-air falling idle

If you cant re-create it I can provide an example FBX file. Hope this helps!

EDIT: After further testing, if I use "convert single" it works fine on the Mixamo FBX but using batch causes the first frame to have its bone transforms cleared or something.

enziop commented 4 years ago

That's weird. I Just testet the Animation you named with

Which blender version are you using? I suspect, that importing the FBX by script didn't update the first frame animation Pose in 2.80 correctly. I was using 2.82a for my tests.

Casalis commented 4 years ago

So I just downloaded blender 2.82a and there are now no problems. It's defiantly related to version 2.8 then. Weird Thanks a lot! πŸ‘

enziop commented 4 years ago

Happy to hear it's working now. Im closing the Issue now.