-
oscillation expression stops after one cycle
it’s help-a-noob day. i have a simple z-rotation oscillation expression on a layer:
from = 45; //one end of your oscillation
to = -45; //the other end of your oscillation
period = .58; //time between oscillation points (multiply by 2 for a round trip)
t = time % (period * 2);
if (t > period) t = 2 * period – t;
linear(t, 0, period, from, to)in the layer comp, it repeats indefinitely, but in the main comp layer, the layer disappears after one cycle. i want it to repeat indefinitely. any thoughts?
from = 45; //one end of your oscillation
to = -45; //the other end of your oscillation
period = .58; //time between oscillation points (multiply by 2 for a round trip)
t = time % (period * 2);
if (t > period) t = 2 * period - t;
linear(t, 0, period, from, to)
Sorry, there were no replies found.