3D Side-Scrolling shooter looping background
Howdy everyone,
My game is a side scrolling-shooter with vehicles where you are constantly speeding forward, there is no gas button. I'm wondering how to make my background scroll to infinity while I load enemies who travel at the same speed as the player.
My background is composed of two elements: One Plane with a Fence Artwork which is the Background and a stretched-out cube that acts as the Road.
I've been trying to find tutorials on Google but they all point to 2D games, mine is 3D.
Basically the Fence and the Road have the same length (quite long but I need infinite), but can't be parented because one is a plane, I want to put them end-to-end to infinity while the player completes his tasks of taking down enemies until the Boss!
Any ideas how to proceed?
I've been thinking of putting Trigger Zones to Instantiate the background multiple times depending on the location of the Player but that will be very approximate and I'm thinking the level won't be tiled properly!
Thanks for the Help!
Your answer
![](https://koobas.hobune.stream/wayback/20220612154023im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why Do I keep Getting An Infinite Loop? Speech Dialogue 0 Answers
Infinite obstacles on a plane 1 Answer
How to have a scrolling background quad cycle through tiled materials? 0 Answers
How to get tiled background adaptable to portrait and landscape? 1 Answer
Loop through a list, meet condition before passing to next element 0 Answers