Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Changing Num Particles in Runtime Stops Emission
#6
(13-05-2019, 02:02 PM)Komsur Wrote: Ideally, I'd like to change the amount of fluid that is spawned based on a flow rate float value we're receiving from another program, as that float value would be dynamically changing and I'd like to avoid making two emitters for the low and high float values.

The emitter's "speed" property controls both the amount of particles emitted per second and their speed, to maintain a constant (or as constant as possible, given the discrete nature of particle-based representations) flow. This is similar to how a real-life faucet works.

You might be able to directly set the emitter's speed to depend on your flow value, depending on what your value represents. I can give more details about how "speed" affects emission, if you need.
Reply


Messages In This Thread
RE: Changing Num Particles in Runtime Stops Emission - by josemendez - 13-05-2019, 03:12 PM