POPs - How to generate 1 particle per collision

   2157   3   1
User Avatar
Member
64 posts
Joined: March 2017
Offline
Hi!

I have some particles colliding with a static object sphere. I'm trying to create a new SINGLE particle at each point of impact. I've got it mostly working, using a PopReplicate node with the group set to collidegroup. I can't figure out what kind of expression I need in the impulse count to generate a SINGLE particle for each collision though.

Attached, find a hip file where each collision is generating a stack of particles at each collision point.

This is just a stripped down example. My eventual goal is to have a planetoid moving through a field of asteroids. Each time an asteroid collides with the planet, I want to stamp an impact mark. I've got a pretty good start on this, but creating a single impact scar is driving me mad.

Thanks!
Edited by BradThompson - April 3, 2018 09:36:03

Attachments:
POP_ImpactStamps.hip (391.3 KB)

User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Impulse count needs to be 1 in the POP replicate
User Avatar
Member
64 posts
Joined: March 2017
Offline
Well, that's more simple than I thought. Thanks AndyW!

It turns out that my non-stripped-down scene had another problem that was leading me to think it wasn't working like that. Also, the manual defines Impulse Count as “Number of particles to emit each time the node cooks”. I was interpreting that to mean that if there are 5 collisions in a substep, you'd only get one particle, since the node is only cooking once per substep (I think?).

Anyway, it's working as you describe AndyW, so thanks again.
User Avatar
Member
336 posts
Joined: Dec. 2014
Offline
Kill Original Particle in the POP Replicate takes care of that
  • Quick Links