'evening
im looking to emmit particles (sourcePOP), but only til the total number of particles reaches a limit. then wait til some particles die to birth some more.
i've tried impulse and/or const activations with expression
npoints(“/part/popnet1/interact”)<=100
<- this is my limit
but my source keeps birthing
anyone know or have ideas?
ta
ben
limiting particle numbers
5205 3 1- ben.toogood
- Member
- 16 posts
- Joined: 7月 2005
- Offline
- J. Price
- Member
- 9 posts
- Joined: 7月 2005
- Offline
- J. Price
- Member
- 9 posts
- Joined: 7月 2005
- Offline
If you want to use a constant birth rate instead of impulse you could do
Impulse Act. = 0
Const. Act = 1
Const. Birth Rate = (100-$NPART)*($FPS)
If you want to vary the amount of particles so its not always 100 you could set Const. Birth Rate to (100-$NPART)*($FPS)*rand($F), which will generate different amounts of particles each frame, but it will keep your total particles from going above 100.
J. Price
Impulse Act. = 0
Const. Act = 1
Const. Birth Rate = (100-$NPART)*($FPS)
If you want to vary the amount of particles so its not always 100 you could set Const. Birth Rate to (100-$NPART)*($FPS)*rand($F), which will generate different amounts of particles each frame, but it will keep your total particles from going above 100.
J. Price
- ben.toogood
- Member
- 16 posts
- Joined: 7月 2005
- Offline
-
- Quick Links