[SOLVED] Animation not working from GLB

Hey,

I think I must have done something wrong but I can’t figure
how I can make this animation working in my glb curtain.
Any help would be appreciated.

Overview | Dashboard | Test GLB | PlayCanvas | 3D HTML5 & WebGL Game Engine

I’m not sure how someone is be able to help with the information you shared.

Oh, I didn’t elaborate the problem since I shared the project.

the shared project is loading a GLB.
GLB is with animation.
For some reason, I couldn’t make this GLB animation working in the project.

Oh, I am sorry I realized that I attached a wrong project address. Corrected it.

1 Like

@Albertos when possible, can you look into this?

It looks like the reason is because you don’t use the asset with the bones for the animation. I forked your project and use the template asset that contains the bones, and that seems to work. Please let me know if this solves your problem.

https://playcanvas.com/editor/scene/1961112

@Albertos Thank you for showing an example. Given a GLB file, I don’t know how I can create an entity to have the bone structure. Can you help me on this?

Drag and drop the template asset (diamond icon) from your asset panel to your scene or hierarchy.

@Albertos Thanks!! It works perfectly!! <3

1 Like