Thursday, August 4, 2022

LoopOut for After Effects Paths

 LoopOut does not work for path layer animations. Use this instead:


if (numKeys > 1 && time > key(numKeys).time){
  t1 = key(1).time;
  t2 = key(numKeys).time;
  span = t2 - t1;
  delta = time - t2;
  t = delta%span;
  valueAtTime(t1 + t);
}else
  value

No comments:

Post a Comment