BinaryCats

Maybe, not any time soon though, sorry
User avatar
BinaryCats
  • Posts: 1299

levallee

cool, thanks.

I'll ask a work colleague to use it on his PC.
levallee
  • Posts: 11

mogbot

Thanks for this tool. I just ran it to merge a set of legs from one skeleton with a body from another. The merge in your tool worked fine. But I get "Error Importing Skeleton" in Spine (v3.1.01). Any suggestions?

The merged file is here:
https://www.dropbox.com/s/4001u9xc97vwe7x/Merged.json?dl=0
User avatar
mogbot
  • Posts: 20

BinaryCats

umm, sorry. I cant see what is wrong, but I can imagine v3+ wouldn't work with it. ill look into it. Maybe try reverting spine to a previous version, export merge, import, save, upgrade and open (inspine)
User avatar
BinaryCats
  • Posts: 1299

PaulV

Do you have an Mac version for this? Sounds really cool what oyu have done.
PaulV
  • Posts: 5

BinaryCats

nope sorry
User avatar
BinaryCats
  • Posts: 1299

nimbling

This is a lifesaver!

Do you have plans to allow (path) constraints to be merged, too?
Regardless, thank you so much. You've saved me hours of work as-is :)

Esoteric, I know you have other stuff to do before addressing these things in the editor itself, but I do run into this same thing from time to time, where I import another skeleton and try to reparent a bone from one skeleton to another.

I actually try this once every few months, forgetting it's not possible, because it seems like such a natural thing to do :)
User avatar
nimbling
  • Posts: 177

BinaryCats

I'm not even sure this supports v3 and onwards to be honest. Spine keep promising to add this functionality, but it never arrives :'(
User avatar
BinaryCats
  • Posts: 1299

nimbling

Well, it worked for me in 3.4 :)
I had to redo the path constraint, but the mesh-to bone binding made it over intact!
(So visually, it was a mess, until I redid that path constraint, and then my setup magically pieced itself back together)
User avatar
nimbling
  • Posts: 177

BinaryCats

hmm, interesting, I may have another look at it then :)
User avatar
BinaryCats
  • Posts: 1299

nimbling

Showoff ;)
User avatar
nimbling
  • Posts: 177

Nate

User avatar
Nate

Nate
  • Posts: 11809

BinaryCats

yay
User avatar
BinaryCats
  • Posts: 1299

nimbling

Sweet!
User avatar
nimbling
  • Posts: 177

Rod

Awesome BinaryCats. Thanks U !
Rod
  • Posts: 1

veganyum

its been some years - sadly not working for me - failed to write JSON :(
veganyum
  • Posts: 6

Erika

Hello veganyum, this thread is now quite old and it's possible to merge skeletons directly in Spine, with some parts that need to be recreated like constraints, and animations reimported. What did you want to do precisely?
User avatar
Erika

Erikari
  • Posts: 3051

veganyum

Hey Erika, thx for your reply.
I made an animation of a guy fishing (with a house) in 1 skeleton, him walking back is skeleton nr 2, and his wife taking a rest on a lay/having a drink is the 3rd skeleton.
my programer friend needs the different walk directions as seperate files, thats why i didnt put it in one file from the start.
The animation i talk about is gonna be a decorative item (holiday house) for the user to place on the map.
so i have skeleton 1 + 2 for the fishing guy, and skeleton nr 3 for the wife.
if you can tell me how to combine that it would be sweet. the thing is theres more animations to come for the fisher and the wife. is it possible to combine the skeletons and still have indepent animations? my programer friend should be able to trigger different animations..
im sorry, im quite an amateur :x
veganyum
  • Posts: 6

Erika

Hello veganyum,
so you have 3 skeletons in 3 separate files, and you want to add a 4th skeleton of a house? Why do you want to combine it with the others? To place them standing on the house patio?

You then mention that you want to combine skeletons, which skeletons need to become one? Do you simply want to have one giant messy skeleton with the house and the 3 human skeletons as a bunch of additional bones?
Or do you want to be more sophisticated and combine the guy fishing with the walk and with the wife?

The first case is possible, but honestly I'd probably just import them in the same Spine project so that the skeletons are still separate but it's easier to animate them interacting with each other.

The second case is a bit more complicated. I think it would be better to keep them separate, especially if the number of bones, their placement, the structure or their names don't match.

In case you still want to go down the merging route, you will need to import the Spine skeletons all inside the same Spine project, then you can drag the bones and release them all under just one of the skeletons.
Import - Spine User Guide

As I mentioned, this will remove the constraints that you will need to recreate. After this you can import the animations from each skeleton into the designated skeleton.

In any case, wheter they are combined or separate, sure! you can animate just one part at a time and have its own special animation that your programmer friend can trigger!
User avatar
Erika

Erikari
  • Posts: 3051

foriero

macOS version?
Founder & CEO Foriero s.r.o.
https://studio.foriero.com
User avatar
foriero
  • Posts: 471


Return to Editor