principle
I'm using a very simple pfxtoarray setup, out from the stroke and into the pfxToArry then from there into three arrayToDyn arrays and then into an instancer this all works fine. My problem starts when i want to use random instances now i can use arrayToDynArray and the objectIndex name but i don't know what to feed into that.

Normally i'd have a particle with something like nParticleShape1.idPP = rand(0,2); and indeed i've tried adding a particle to the scene and feeding this data in but it does not work.

Is there another node i can use to feed in a random number to the arrayToDynArray thats set to objectIndex

Thanks 

Reply 0 0
David l
Im not in front of maya, but you could try mesh2arrays as i recall it has a random float array output feature.
Try pfxtoarrays->pointcloudtomesh->meshtoarrays->arraytodynarrays
Sorry cant remember the specific input / output attribute names or flags, but hope it can help you some of the way :)
//
David
Reply 0 0
principle
You sir are a scholar and a gentleman, thank you very much, that worked perfectly! 

Thanks really saved me a ton of head scratching 

Reply 0 0
David l
You're welcome, glad to hear you got it to work :)
//
David
Reply 0 0
Reply