I'm trying to get a transform thingy to follow an nCloth mesh. Making use of a hair follicle has been used many times for this sort of thing (e.g. attaching buttons), but for some reason I can't get it to work.
Can someone verify for me whether (in Maya 2015 or 2016) an nHair follicle will follow a dynamically simulating nCloth?
I'm following this tutorial, which should work: https://knowledge.autodesk.com/suppor...ipper-htm.html
Except in the tutorial's case, they're using a classic hair follicle I believe. With my reproduction, the follicle doesn't move.
Stwert not sure this will help you but you can create two spheres one to have the hair system the other two have ncloth then use the wrap deformer to parent the hair to the ncloth...................dave
Thanks Dave, that might get me somewhere. The problem is not necessarily that the hair doesn't follow (it does) but that the follicle nodes don't update their transform channels. I don't actually need the hair, just a node that's locked to a spot on the cloth to which I can parent or constrain other stuff.
I'm mostly confused because the zipper tut I posted above clearly works this way, and now nParticles somehow have stopped behaving that way. If I create a bend deformer or otherwise deform the geo, the follicles do follow, just not with cloth.
I think I found that script earlier which by reading seems to do exactly the method I'm trying to set up by hand. So it will be interesting to see whether the script works and what it sets up.
I may have found a solution (which is weird because I thought I tried this earlier). Setting up the nHair automatically connects the follicleShape and the outputStartCloth mesh, even if the outputCloth is selected.
So, I just rewired the connections (.outMesh > .inMesh and .worldMatrix[0] > .inputWorldMatrix) and the follicle now follows. I though it might screw up the simulation, but it seems to behave the same as before... for now at least.
The below image has the outputStartCloth mesh at the top (the input mesh) and the outputCloth at the bottom, with follicle AND hair attached.
So it looks like the script you shared, Dave, also does the same thing. Create a follicle and manually connect the out mesh (the script is actually ignorant of the mesh type, whether start mesh or output mesh, I think) and connect those two attributes together. So the script works.
I get the sense that the regular nCloth & nHair behaviour has changed. I wonder what and why?
You may not post new threads |
You may not post replies |
You may not post attachments |
You may not edit your posts |
BB code is On |
Smilies are On |
[IMG] code is On |
HTML code is Off