ah i dont know if there is. i just took the position of the player every frame and added it to an array and when the level restarts, i instantiate a new object which goes through that array every frame
well thank you for explaining that, I suspect this would be through a fixedupdate? Were short levels a consideration for you? please tell me to shut up if my questions are annoying.