|06 June 2012||#1|
Bone-Studio Founder & Director
Join Date: Feb 2002
How can i change one parameter in multiple objects - nCloth
I'm new to Maya, so i'm studying it.
I have a sphere broken in severla pieces, and i want to use them as nCloth, up to there is ok, now, i want to load the "Concrete" preset in all of them.
How can i do that?
|06 June 2012||#2|
Join Date: Sep 2009
I'm pretty sure you can't set presets with this, but for future reference, look into the Attribute Spreadsheet Editor for changing attributes on multiple nodes at the same time. It's extremely useful.
"Even the Christmas vacation will be darkened by New Zealand scripts…"
~ J.R.R. Tolkien, The Letters of J.R.R. Tolkien, Letter 34
|06 June 2012||#3|
Join Date: Oct 2011
I'm not very good with nCloth but I'm gonna try...
The Use Polygon Shells check box under the Dynamic Properties section will be of your help here.
You can combine all the pieces into an single mesh and simulate which will create only one nClothShape node, instead of having separate objects which will create an nClothSshape node of each piece.
If you have all the broken pieces combined into one mesh, then applying the concrete preset will cause them to simulate as a single piece of geometry at first. That is because the Rigidity and Deform Resistence is set to 4 and 6 respectively. even a value of 0.2 in Rigidity will cause it to simulate as one object.
Setting the Rigidity and Deform Resistance to 0 will simulate the breaking of the sphere into individual pieces but will cause them to behave like cloth (or cause dents) especially in the areas of high number of polygons (because rigidity is set to 0).
So you have three options (I mean the ones that I know of):
Increased Substeps to 5 and Max Collision Iterations to 20. No interpenetrations:
I hope it helps!
Here's the scene file of you wanna take a look. I changed the Self Collision Flag to Full Surface and reduced the value Self Collision Thickness.
Last edited by Parv : 06 June 2012 at 01:47 PM.
|Thread Closed share thread|