Jump to content

Change color attribute based on particle collision?


Recommended Posts

Hey there,

I have a simple setup where I generate a bunch of particles and let them drop on some spheres. I would like to achieve to change the Color of the Spheres based on hit by a particle. With hitprim I was abled to change the color of primitives of the spheres but I would like to check based on the selected primitiv to select the whole Object. Also I would like once changed from Black to Red to keep the color even after the particle passed through and left the object. And on top of that, if possible to add some delay. So once the particle hit the object it takes like 10-15 Frames till the spheres changes color best with fading to that color (but not sure if that is possible)..

qpjykwn8oef81.thumb.png.b9dbecbb22a607b560ed98ce4681ebad.png

Has anyone an idea how to achieve that or is there a different way. I tried with attribute Transfer but couldn't get it to work. I uploaded my current setup: 

Particle_hit_detection_changecolor_01.hip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...