How to identify particles

I have a particle generator which is used to create red and green particles. I’m using a query region to detect the particles.

I’d like to identify the particles individually by some value, but of course the query region only returns their locations.

I have considered using a colour sample to pick up the particle’s colour, but as that requires a frame iteration there is the high chance that the particle will have moved by the time the sample is received.

Has anyone managed this?

Hi Matt,

I assume you need the different particle colors to collide with each other, which is why you’re using a single generator instead of separate generators?

Brent

Exactly. I’d like them to mix and the colour detection is to have filters.

Hi Matt,

I assume you need the different particle colors to collide with each other, which is why you’re using a single generator instead of separate generators?

Brent

Exactly. I’d like them to mix and the colour detection is to have filters.