I have grouped them all under an empty game object and I want to make it that each of the objects spawned have a Y position of one. So basically I want each one spawned to always have a y of 1. Also I have made obstacles in my infinite runner and I want It so that once you have touched them you die? Last one I want them all to translate backwards. Any ideas? Thx for the help in advance.
Goo day @TheChanger.
First, dont create 2 Questions for the same matter. Please delete this other question.
Now, let’s see…
You want to Instantiate a list of GameObjects at a determinate position. Is simple, when using instantiate, you have to determine the position og the gameobject with a Vector3 (x,y,z) variable. So just:
Instantiate(Object, new Vector3(TheXyouwant,1,TheZyouwant),new Quaternion (0,0,0,0);
And i dont understand what you mean with
“Last one I want them all to translate backwards”
Please upvote if helped, and ask for more if need more help using @tormentoarmagedoom
And remember to delete this other question !