I've seen a lot of tutorials on how to build infinite runners and came up with a question about game optimization.
This types of games are built on two ways, according to my research; these are:
Set the player and camera static. Usually on the origin of the world space, and have all the environment assets created on the distance and move them towards the user.
The environment assets are created on a straight line to infinity and the player and the camera both move forward until the player loses. This means the environment's position will not be changed once they are created.
My question arises from here. Which of the two involves less calculations? Which one gives the player a better feel of movement? Is the difference actually significant (in terms of performance) or is it just a trivial question?