-
Animating position with fixed values and irregular intervals.
I’ve been using Dan’s solution (from an old post) on a project but I’m struggling on how to make it have irregular intervals, without jumping every frame and always moving up on Y.
Any ideas?
moveTime = .3;
holdTime = 4.7;
delta = [0,-5];seg = Math.floor(time/(moveTime+holdTime));
t = time % (moveTime+holdTime);
value + delta*seg + linear(t,holdTime,holdTime+moveTime,0,delta)
Sorry, there were no replies found.