Shrinkwrap modifier on rigged body animation

Hi all,

i have a small piece of cloth that doesnt need the floating effect just wrapping on the torso,
shrinkwrap modifier seemed suitable for the job however,
it doesnt follow the body mesh once the character start moving. any ideas?

ive tried both object constrain and modifier version (thought i think modifier is the one),
is this a 2.8 thing or? cause im pretty sure i saw shrinkwrap working on animation somewhere.
or does it simply not work with bone rigged mesh?

ty for your time,

Shrinkwrap modifier works well within rigs, at least up to 2.79. Many if not most of my character rigs make use of it at some point.

If the piece of cloth is left behind you probably did not rig it such that it follows the target during animation? Because this is what you need to do in order to have it work properly: the cloth needs to have an armature modifier too, and must be skinned to follow suitable bones during animation. The shrinkwrap modifier has to be placed after the armature modifier in order to wrap the already deformed mesh around the deformed target. How exactly the modifier will behave is a matter of the mode you select as well. If the cloth is left behind you probably used ‘project’ mode, ‘nearest vertex’ or ‘nearest surface’ will always pull it towards the target mesh, however the mesh needs to be in a suitable start position before the pull kicks in to have it wrapped around the target in a cloth-like way, so the above is valid here too.

The shrinkwrap constraint btw. will pin your cloth object to the target’s surface at object level, ie. without deforming the mesh. So you were right, the modifier is your friend. :slight_smile:

Apart from that, I’m not sure whether it is a good idea to learn new rigging tricks using 2.8, there’s just too much stuff not yet in place. I’d use 2.7x and get it up and running there first, the errors you encounter will probably be your’s. With 2.8 on the other hand you’ll never know … :slight_smile:


dear Helmut_S,

thank you so much for the detailed explanation.
im new to blender but been working in CG for a long time, it really looks like a viable solution and i will try it as soon as i finish my current job (i ended up binding the cloth to bone and just painted weight)

i cannot thank you enough because im forcing myself to use blender instead of maya but there is a schedule and i can get pretty desperate :hot_face::hot_face:

if you have time there is another one for you :stuck_out_tongue::stuck_out_tongue:

thanks again and have a good day :slightly_smiling_face: