rayman
Hello,
I`m trying to control paintable nCloth parameters using SOuP, but Maya doesn`t allow me to create connections to PerVertex attrs. It just returns error saying that these attributes cannot be connected. I know it`s not a soup problem because I tried to connect same type attributes between two nClothShape nodes without success. The only possible way to make connection is between 2 attrs of the same node which is strange and in my case useless.
According to documentation these plugs are connectable and readable/writable, but still doesn`t want to accept connections outside the node.
I know I still can use the Map plugs, but I think it will be more flexible to make PerVertex ones works.
Reply 0 0
pshipkov
Can you specify which nNode attributes you are trying to control through input connections ?
The nCloth node much like the particles does not allow input connections attached to array attributes. I complained about that quite a few times to the developers and hopefully they will resolve it one day, but for now you can pump values only in the paintable attributes that are not even located on the nClothNodes.
Let me know if you get stuck at that and need more detailed explanation. I know that Aikiman did some tests with nConstraints where he pumped values from SOuP nodes to nucleus PP attributes.


Reply 0 0
rayman
Hey, Peter! Thanks for the reply.
I forgot to mention that attributes types are doubleArray (inputAttractPerVertex, restLengthScalePerVertex for example), so probably that is the reason it doesen`t work. The initial idiea was to create tearable nCloth mesh (already shattered) painting some vertex parameters using attributeTransfer, arrayDataContainer and a few Bounding objects.

Reply 0 0
Reply