I made an endless runner but im having problems with black lines between objects when they reset their positions.
The first image is the start of the game. The second being after the objects have reset their positions back to the beginning.
This is the only script i have for these objects. I probably have my math wrong. But i can't see where it's wrong. I've done multiple variations of when to remove object and where to put it back.
Develop games in your browser. Powerful, performant & highly capable.
The trick is to offset by an amount, rather than placing at a fixed location. Just subtract 3380 to get correct relative positioning.