Saturday, January 31, 2026
spot_img

Separate glb file for every animation – Cocos Creator


Hello all!

I take advantage of Cocos Creator model 3.8.3.

I’ve a skeleton (let’s name it AnimalSkeleton). There are a number of animations for it: Idle, Stroll and Assault. I even have a couple of characters that use this skeleton and these animations (let’s name them Cat and Canine).

I may export two recordsdata: Cat.glb and Dot.glb. However I wish to do it otherwise. I don’t know if it’s proper or not, however I might cut up every thing into the next recordsdata:

  • AnimalSkeleton.glb – skeleton
  • AnimalSkeleton_Idle.glb – skeleton + animation
  • AnimalSkeleton_Walk.glb – skeleton + animation
  • AnimalSkeleton_Attack.glb – skeleton + animation
  • Cat.glb – skeleton + mesh
  • Canine.glb – skeleton + mesh

The precise downside then is that 6 equivalent skeletons are fashioned within the mission. How can I group them (mix them or do one thing else)? In any other case, in SkinnedMeshRenderer, you click on on the Skeleton discipline and a listing of six skeletons is displayed. However on this case, I wish to have just one, as a result of I solely have one distinctive one.

If we take Unity. Avatars are used there. I may specify for the AnimalSkeleton.fbx file that it ought to create an avatar for it. And for the opposite 5 recordsdata, that it shouldn’t create its personal avatars, however use the one created from the primary one. I might all the time see just one skeleton (avatar).

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles