I have a candle, that emits some particles. How could I forse it to stop emitting those particles while it is turned off?
You can find the answer in /objects/generic/torch/torch.animation but let me know if you don't understand it after looking at it.
So could you help? It is little bit complicated because of there's two objects: "particleEmitters" and "particleVariance"
im pretty sure that you should get the first value. the second, variance one, is used if you need some randomness in said particle, such as its size or direction. but dont quote me on that
sorry, what did you mean? you meant that you want to change the behaviour, you don't want to change the behaviour or something else? my english skills aren't at max
I mean original asset uses variance, so I can't just throw it away. I shouldn't change particles behaviour, i only should just turn it on/off by wire.
i decided to check on it, and as far as i understand it, the "particleEmitters" part is the "function". you can see that in the "animatedParts" part there is "particleEmittersOn" and "...Off" parts. they are the "switches". this means that for candle, you should make the "particleEmitters" part (just like with torches), and then in the "animatedParts" part you should add two values: "on" and "off". in the properties of so-said values you should add the "particleEmittersOn" and "particleEmittersOff" parameters. to be short here, you should fully copy the "animatedParts" and "particleEmitters" parts from torch.animation into your candle.