Particle instance issue


#1

Hey all, this is super basic but I’m having a problem assigning multiple instanced objects to my cached nParticles. I have the instancer’s object index set to a per-particle attribute I made with a random expression: rand(0,6). I expected this to assign my 7 objects, however I still only see 1. The funny thing is, I’m pretty sure I did the exact same thing a week ago and it worked fine. Any ideas what I’m doing wrong?


#2

Is the object index attribute selected as the object index in the instancer tab in particle shape AE?

i dont know if this is totally necessary or not but i usually use int in my objIndex expression
ex. objIndex = int(rand(0,6));
this will choose a whole number


#3

Thanks mandark1011! I figured it out though, it was kind of a no-brainer, long day I guess. The simulation was starting from an initial state, so any creation expression I added after the fact was not able to run on previously created particles. I had to recreate the particles again and it worked as expected.


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.