specter
Hi!

I'm trying to edit the component list of an nComponent Node which goes into an dynamic constraint. I want to use a group node to control the components but i cant find a way to do this.

i tried to do it with mel and setAtr in a point node which is gets the component list from the group node but it was kind of unstable for me.

thanx in advance
pshipkov
Just replied to similar question in another topic. Here:
What i see is that dynamically adjusting nComponents is unstable. I got some crashes and in general things freak out.
I think we are better off slapping constraint to all points or the subset of points we are interested in and then adjust the constraint weights.
Adjusting constraint weights is easy - they are double arrays and we feed them using the standard SOuP techniques.
Reply 0 0
specter
Hi Peter!

Thanx for helping; again ;)

I think you are right and i did it exactly this way now. But just for curiosity, how can i connect the group node to the indices array? i know that it is just an int array but i couldnt connect anything to it.

greetings

Reply 0 0
pshipkov
Nucleus crashes if you try to do that with live connection.
Reply 0 0
Reply