Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

There is no magical method to rewind time in unity. You need to do it yourself.

Little hint : every x amount of time, add the current position of each object you want to rewind in their own specific "previousPos" collection (i.e a list, or even better, a stack), then gradually move them back to their previous positions when you want to "rewind" time.  Don't make the collections infinite though, make it only store the last 20 for example.

(1 edit)

The world is procedure-generated though

Edit: I think I have a way to work around it