POP Collisions, hitnum and POP Color

   3371   0   1
User Avatar
Member
43 posts
Joined: Jan. 2014
Offline
I am trying to group, and then color particles in that group based on the number of times they have collided with geometry.

In the file I have posted, one of the particles is changed to the color I want before it even collides at all.

I am using Static RBD Solver for the bounces, and this works fine, and a POP Collision Detect to handle the collision detection.

When the particles do collide, it seems that the “hitnum” attribute for each particle is being updated correctly according to the Details View, but when I attempt to use this in a POP Group node with “i@hitnum > 1” as the source group, followed by a POP Color, nothing is working correctly.

I have tried numerous other methods and nothing has worked. You should get the idea from my DOP network what I am trying achieve though

Attachments:
pop_collision_color.hipnc (715.8 KB)

  • Quick Links