Jump to content
r-a-n-d-o-m

Particle Birth rate based on velocity source

Recommended Posts

Posted (edited)

Hello,

 

How do you control the birth rate of particles based on the velocity of the source object.  So if source object (eg broken wall pieces) stop moving, I don't want particles to spawn there anymore.

My emission type is set to POINTS (so I can't use the Emission Attributes). I also have no RBD objects in my DOP network, only POP SOURCE, POPSOLVER, POPOBJECT. How do I grab the velocity and use it in the birth rate field?

I also made an @emitSpeed attribute in SOPs. Which works, it goes to zero if the source points stop moving. But I can't write 1000*@emitSpeed in the Const. Birth Rate field.

regards

r-a-n-d-o-m

 

Edited by r-a-n-d-o-m

Share this post


Link to post
Share on other sites

you can isolate the source points before feeding them to pop solver, would be easier , or just create an attribute by taking a sop solver inside ur dopnet and use that as emission criteria.

 

Regards.

Share this post


Link to post
Share on other sites

Check in POP SOURCE  Emission Attribute  ;)

Clipboard01.jpg.15b4420ab45b4a6a969e729be13f5914.jpg

Share this post


Link to post
Share on other sites
On 3/12/2020 at 2:29 AM, r-a-n-d-o-m said:

hmm not what I want.

Particle Birth rate based on velocity source
velocity2BirthRate.gif.16be304de7a8ec6be7581d486b4b28eb.gif

  • Like 1

Share this post


Link to post
Share on other sites

Very nice, and I couldn't do it.

I calculated the velocity of my emitter, changed it to scatter and added the attribute v for emission.

Even so it is not emitting only when it moves.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×