Hello,
I have a big question!
I’m trying to loop a path but i want the loop to be “Pingpong” after the first keyframe.
According to what I’ve read, this is the expression for looping paths but it only works for cycle loop.
Is there any way to make it work as a pingpong loop?
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