- Home /
How to get a GameObject to follow an instantiated object then when a new one spawns follow the new Instantiated object
Here is my problem, i have code written to instantiate an object and i have a spawner that i want to follow it on the Y axis and when that object gets to the bottom i want the spawner to attach to the new object and follow it down repeat the over and over again.
Also the Instantiated object is one of 28 diffferent possiblities
Answer by billybobjoe21 · Oct 13, 2016 at 11:19 PM
I came up with an answer based from a Question by Der_Kevin · Dec 07, 2015 at 03:28 PM · camerainstantiatespawn set instantiated object as Transform target? If you want to view the page I will add a link below http://answers.unity3d.com/questions/1108691/set-instantiated-object-as-transform-target.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612094436im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Unlocking & "Equipping" Colors onto Sprites with c# 2 Answers
Is it possible to run a REST server in Unity 1 Answer
Scrolling sprite image 0 Answers