Krblshna

Good day, I wondering is there a way to replace (copy) weight from one bone to another? For example I've bind many vertices to wrong bone and want to move all weights of this bone to the correct one for whole mesh.
Example:

red bone - 30%
orange bone - 70%
green bone - 0%

execute magic functionality ->

red bone - 0%
orange bone - 70%
green bone - 30%

weight was moved from red to green
アバター
Krblshna
  • 記事: 19

Erika

Hello! this feature is not available yet but it's planned: Allow transferring weights from one bone to another · #301 · EsotericSoftware/spine-editor

I'll add your +1 there!
アバター
Erika

Erikari
  • 記事: 2493

Krblshna

Thanks for answer!
アバター
Krblshna
  • 記事: 19

Lhescar

:yes:

Transfert%20feature
Lhescar
  • 記事: 31

Nate

Transfer is a good name, though it's not clear how the tool would behave? Needs a way to specify the source and target bone(s).
アバター
Nate

Nate
  • 記事: 9724

Lhescar

It could work this way.
Once transfert mode is selected, three options are displayed:
1. choosing the bone we need to transfert weights
2. selecting bone which will receive the weights
3. defining % of transfert.

What i'm not sure is if the new target bone must be already in the bent bones list to make it work?
Channels "From:" and "To:" could display a drop-down list of the bent bones of the selected mesh.

Transfert_mode
Lhescar
  • 記事: 31

ghostdog

That is exactly what I am looking for. Does anyone know how the json encodes this information? I could write a json tool.

Currently I have a left and right side and would have to painfully reinstate the weights from left to right.
ghostdog
  • 記事: 11

Nate

JSON format is documented here:
Spine: JSON export format
See vertices under mesh attachment attributes.
アバター
Nate

Nate
  • 記事: 9724


Return to Editor