I am planning to make an endless runner game like temple run.
need to know techniques for dynamic world creation.
should i move the world back or move the player forward,because of the fact that unity has a limit for the values of position.
there is no one good answer. the simple fact is in real-life projects a mix of both techniques may be necessary.
for example, it’s true that you don’t want position values to grow too big but – so what? are you sure you’ll ever be anywhere near that limit?
a common approach is “9 champs” where you are on a champ 100m square and there are 8 around you. once the player moves more than say 10% off the middle champ, move everything and recenter so that you are again in the middle of 9 champs.
either eis no one decisive answer, and you have to program completely flexibly so that either of the two techniques you mention work perfectly.
then you can test both for performance in your typical situation.