- Home /
Question by
TheRingmaster666 · Mar 17, 2018 at 10:35 AM ·
2dendless runnerendless loop
Obstacle loop
I'm making an endless runner with walls that come and when the player is hit, the game ends. But obviously I need the obstacles to reset back to a point when they go off screen. So to do this I've set up a trigger, which when the obstacles hit it should be reset back into a position. (Top or bottom depending on a random variable). Does anyone know how to do this?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612154756im_/https://answers.unity.com/themes/thub/images/avi.jpg)