This is similar to an earlier question I asked but this time, I was able to secure some public test assets and make a fiddle that hopefully explains what I am trying to achieve: Edit fiddle - JSFiddle - Code Playground
I have some rigged mesh bodies based on a bespoke skeleton. There are several versions - “standard”, “tall”, “short”, “wide” etc. Each one has the same skeleton that has been deformed to produce the desired result.
Then, there are several items of clothing that all use the same skeleton as the body. The clothing skeleton’s default state matches the “standard” body.
So, if I add the standard body and an article of clothing - a t-shirt for example, to the scene it looks correct. (Left example in the fiddle).
If I do the same operation with a wide body (right example in the fiddle), the shirt does not fit anymore and disappears into the body.
I have tried many many things to make it work - all without success. For the example, I boiled it down to just copying the position/scale/rotation of each bone in the clothing from the corresponding bone in the body.
That does indeed match the skeletons - you can see the skeleton helpers for both match - but makes no difference to the clothing.
Is this even possible (I am assured that it is) and if so, can someone point me in the right direction?