I changed a few things to get it to work. First in addition to x and y I also save the time. This is so I can find the saved position just before and after a certain time. If the first egg would is half a second behind the player then I would find the positions closest to time-0.5. After that I can then interpolate between the positions with lerp. The send thing I change from the original is add to the front of the array instead of the back so I could trim off the excess with a set size.

Hi guys, sorry to unbury the thread, but I am currently working on an old project of mine, which uses a similar functionality. I successfully implemented @R0j0hound solution, but I am struggling with one detail:

The programming was made for a group of eggs already caught by the player, but let's say that I caught one more egg. What would be a good way of programming it to join the the other eggs as the last in line?

@pcfernandesjrIn that example just adding another egg works fine to add it to the end. If you want the eggs to be ordered in the way you collect them you could do something like this to assign a number to the eggs you collect: