Data transfer modifier giving strange result

http://www.pasteall.org/blend/40435

This file. What I do is select the shirt object and add a data transfer modifier. I choose vertex groups and select generate data layers. Then I select the shirt object and shift select the bones and ctrl p to parent it.

When I go into pose mode and move the bones, I get a strange result. I want the shirt object to follow the model. I want to transfer weights and I saw that this is how to do it but like I said, it’s giving me a strange and unusable result.

You have a few things going on, the shirt has the mirror modifier on it and where it joins at the front you have faces so you have created internal geometry and it doesn’t join, remove the faces from the end and merge it properly and apply the modifier.
CTL p and just parenting it to the bones will give unexpected results :slight_smile: you need to have an armature on the shirt as well, just do ctp p and select armature deform just to parent it with an armature.
then highlight your base mesh, shift right click and highlight your shirt
go into weight paint mode
hit t to get the tool bar up in the left
click on the tools tab
click on transfer weights
in the context menu under the tool tap change source layer to name
make sure destination says all layers

That will transfer the weights, you’ll probably have to do some clean up in weight paint mode like for the long bit of mesh at the top of the shirt.

There are other issues that will cause you problems, the rig is not great the bones are joined a bit weird, the bone rolls are all over the place and it’s going to be hard to pose it with just IK controls on the arms and legs, the weigh allocation on the base mesh is not great so you are just copying that over to the shirt. It’s great to learn how it all works, but I’d have a look at some of the other humanoid rigs around like rigify, pitchpoy, blenrig etc. as well so see how they do it as well.

Saying that, it should start moving together at least if you do what I have in the start of the message (hopefully!)