is this multiplayer game ? i made a similar one
Viewing post in Here we clone again jam comments
We stored the coordinates and other variables of the player in an array on a repeated timer (basically we store an array, in which each element is one frame). When the array contents are played, in order for the teleportation to look smooth, we did some interpolation magic, during the "OnTick" event.