-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot play animations from Mixamo #25
Comments
Hmm after struggling with this for a few more days, I think the problem might be that this library assumes the animation must be tied to the mesh directly. I'm still new to the world of 3D models, but the Mixamo FBX files look like the animation is attached to an Armature which is the parent of the meshes. This is the structure of the BoxAnimation file in your examples: And this is what Mixamo generates: I tried exporting the animation as NLA tracks but it doesn't get recognized at all 🤔. Do I seem to be on the right track here? I'm trying to look into the bevy source code too because they have this animation working, looks like they are also using the |
Thank you for the kind words 🙏 And sorry for the crazy late reply, I've been very busy. This is also not an easy question to answer so I wanted to spend some time debugging this before I did answer you, but it seems like I never get the time, so I thought it was about time I gave you some answer at least. Basically, animation is a fairly recent addition to I definitely think you're on the right track, the box animation and similar gltf example animations are probably very simple. So it's probably because I assumed a wrong structure from those files. I do seem to remember that this was working for animations of the parent node though. I'm not sure when I get the time to look at it, but when I do, I thank you for the example file, that's going to help me a lot 👍 If you have time and energy to try to solve this, I'll be more than happy to review a PR or guide you in the right direction if this requires architectural changes. |
Hey there Asny! First of all, just wanted to point out that I love this project. It's definitely the most WASM-friendly renderer that I have worked with in Rust.
I'm having trouble getting any animation from mixamo playing with three-d.
The usual flow I use to get animations working is:
I have this animation loaded and playing properly in Bevy. Attached is a zip that contains the animation files, in case you want to see the input files that I'm working with. If you prefer not to open the zip file for security purposes, you can also repeat the steps above and probably get the same result.
Idle-animation.zip
While I don't want this to turn into a debugging session, I also really need to get animations working. I tried looking into your animations example in three-d, and noticed that you used COLLADA2GLTF. I tried doing the same, having mixamo export to a Collada format and then using the tool, but I get the same result.
I also verified that I am following the instructions for importing the asset, choosing the animation, and animating it on screen with a time, etc.
I would be very grateful if you could help me figure out a process on how to get these Mixamo animations working with the renderer, but if that's a lot of work, perhaps you could give me some step on how you created the
BoxAnimation
animation for the animation example so that I could try to see what steps I'm missing.I have tried a bunch of different configuration options across multiple days, and nothing worked for me.
The text was updated successfully, but these errors were encountered: