I am brand new to Javascript/unityscript. I was trying to figure out the best way to randomly keep terrain generating for my 3d infinite jumper that I am working on. so anyways what I was wondering would it make sense to make a script that basically checked the players y axis and as he got really close it would use the Object.Instantiate to generate the terrain that he already jumped on to move it above the player so that he could infinitely jump. Will this work?
Ps. I do understand by doing this it would not randomly generate the terrain I plan on working on that later after i figure this out.