-
Particle emit exact number every 15 frames
Hi everyone, I have a question.
I wanted a particle emitter to emit 100particle/second for 15 frames every 30 frames (1/2 sec.)
so it would go :
frame 0 to 15, 0 particle.
frame 15 to 30, 100 particle.
next 15 frames, 0 particle.
next 15 frames, 100 particle.so on and so forth.
I have difficulty pinpointing the conditions to be used.
what should I use? will timecode work? and if so, can someone help me find out the conditional for the if statement?
maybe a while statement work better?pseudocode:if (frames = first 15 frames in a second) // I need help with the conditions
{
emit 0 particles;
}else{
emit 100 particles/sec;
}
Motion Graphics Designer
https://www.chaosraven.com