Jump to content
Sign in to follow this  
louderthan11

How do I stop TP emission after a certain number?

Recommended Posts

I have a PStorm node set up and passing those particles into particle Group.1. I'm affecting the Group 1 particles with PFriction to slow them down to a halt. I'm using a PGetData Node to output the velocity into a compare node. When the velocity is <= 1 I'm piping the output port to the On port of another Pstorm node. That much works just fine. What I want to do without keyframing the shot value of the 2nd Pstorm node is limit the number of particles emitted to 7. Or any number, really. I need all the particles to emit at once, on a single frame. So I don't think I can get rate or count to work as the particle birth type. Is there a way to turn off the particle emission? I am puzzled at the moment. Thanks for any help guys!

Share this post


Link to post
Share on other sites

Velocity is expressed as a vector. To get the speed of the particle, feed the velocity into a Distance node.

 

My understanding is that the second PStorm node should emit ONLY on the first frame where one or more particles falls below the speed threshold.

 

One approach is to include the particle count from the second emitter in the test. The PStorm node is only switched on when the particle count is zero and the speed is below the threshold. The PGroup node from the TP Helper group outputs the correct particle count when the PStorm is switched off.

 

PStorm_SingleShot.zip

Share this post


Link to post
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.

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.

Sign in to follow this  

×
×
  • Create New...