Distribution Float Particle Parameter Trigger
I'm trying to trigger a particle spawn count only when I press (and release) a button. I hope it'll make sense when you watch the short screen-capture. My problem is that if I set the spawn Constant to zero, the button triggers, but the value doesn't change and it doesn't start emitting particles. However...
If I set the spawn Constant to 0.1 the emitter emits one particle per second. Now, if I press the button, it sets it to 1.0 and I get 10 particles per second. When I take my finger off the button, it sets the value to 0.0. Great! (Although, this stops working eventually, too).
Although, this seems to work to a degree, it doesn't explain why I can't have a zero emission rate initially? I know the value is changing because I used a 'f To Text' node and attached it a 'Print Text' node. So, I can see the values updating. Any answers would be greatly appreciated.
asked Dec 12 '18 at 01:09 AM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here