-
Toggle variable with time
I’m trying to build an expression that toggles a variable at 0 or 500 at time intervals. So for 3 seconds it’s 0, then for 7 seconds it’s 500, repeat…
The reason for doing this is to try to get Particular to emit a dotted line from an emitter traveling at a constant speed. My plan is to toggle the particles/sec on and off (0 or 500) as the emitter moves, thus creating a dotted line. My time estimate of 3 and 7 seconds is just a guess and will certainly need to be modified. I’;d appreciate any help on this kind of expression.
EDIT: I thought I found the answer in another post here: https://forums.creativecow.net/readpost/227/29494 but I can’t seem to get the get the value to toggle at specific time intervals- it’s more based on percentages and I am getting unexpected results.