[SOLVED] Why is this, the animation is messed up

Why is this, the animation is messed up!
help!!!

Is the GLB file available for us to take a look at?

https://threejs.org/examples/models/gltf/Soldier.glb

sorry, i dont’t know how upload the file! this is link!

Try converting it from a glb file to an fbx file.

I downloaded it from threejs official, I can use it directly in babylonjs, and it will be messy in playcanvas, so is the other models with bone marrow action

Try to import the animation in Blender, check if the animation is oké and then export it from Blender as FBX to use it in PlayCanvas.

It’s not normal in Blender, just like this, why other engines can be used normally, I won’t be a 3d editor, how do I adjust!
If I do n’t check this, it will display normally

Okay, I don’t know much about it. Hopefully someone can help you out.

We really need to update that viewer as it’s using an outdated version of loading the GLB

See here for the internal engine API: https://playcanvas.com/editor/scene/922242
https://playcanvas.com/editor/code/655732?tabs=30952649

1 Like

An updated version of the the viewer can be found here: https://github.com/playcanvas/engine/tree/master/tools/viewer

No idea how the old viewer is accessible, the GitHub repo for that site doesn’t have that folder :thinking:

thank you very much!
it is ok,so cool!

1 Like

Why do I support play without responding, it is always the default action, I want to change other actions

ani.play("Soldier.glb/animation/3", 1);

i’m ok like this!

I was about to say that animations are played using the asset name rather than the original animation name.

Well, I know. I saw that your demo also did a layer of mapping. Thank you for solving the problem that troubled me for a day! :heart: :revolving_hearts: :two_hearts: :heavy_heart_exclamation: :heartbeat: :heartpulse: :sparkling_heart: :gift_heart: :cupid: :speak_no_evil:

1 Like