pixiv / three-vrm

Use VRM on Three.js
MIT License
1.27k stars 111 forks source link

Loading Mixamo animation rotates the legs by 90deg #1176

Open tejasnayak25 opened 1 year ago

tejasnayak25 commented 1 year ago

So, I'm using the code from three vrm's examples to load Mixamo animation but it somehow turns the character's upperlegs by 90deg? It only happens when I load manually downloaded files but works properly for the animation link provided in the examples. Kindly let me know what I'm doing wrong!

errorpng
ButzYung commented 1 year ago

Which Mixamo animation did you try? I have been working with quite a lot of Mixamo FBX motions and every single one of them works fine so far.

tejasnayak25 commented 1 year ago

Which Mixamo animation did you try? I have been working with quite a lot of Mixamo FBX motions and every single one of them works fine so far.

Walking.fbx and Jumping Down.fbx

tejasnayak25 commented 1 year ago

I think something's wrong with my code. Can I try yours pls?

ButzYung commented 1 year ago

https://sao.animetheme.com/XR_Animator.html

Press START, drop a FBX file, and the VRM model should animate. Feel free to try non-Mixamo FBX as well.

tejasnayak25 commented 1 year ago

It doesn't seem to work. I'm clicking on START and then dropping a FBX file but there seems to be no changes happening. It just shows that "No custom .... before MMD is loaded"

ButzYung commented 1 year ago

Press START, and wait until you can see the VRM model, before you drop your FBX motion.

tejasnayak25 commented 1 year ago

It's working. Can you please help me with the animation code?

ButzYung commented 1 year ago

Is there a CodePen or something for your codes?

tejasnayak25 commented 1 year ago

Umm, so here's the thing. Surprisingly I happened to find the code from the three-vrm examples and it works properly. Thanks for all the help you've provided. @ButzYung your website is amazing. Thanks again

Charliebaby019 commented 1 year ago

I'm having the same problem but am unsure why. I think it might have to do with including the hips or not