- Home /
Question by
Rickasheye · Oct 14, 2019 at 10:30 AM ·
instantiate prefaboffsetroom
Instantiating objects on a offset
can i connect these two objects at the red points on runtime from script? instead of using the pivot from the instantiated object without changing the pivot manually
connect.png
(110.2 kB)
Comment
Best Answer
Answer by HappiiGamer · Oct 14, 2019 at 05:41 PM
You can either set the blue object as child of the object containing the red dot. Or, you can make the blue object follow a specific point in the red dot object using the Update() method.
Your answer
![](https://koobas.hobune.stream/wayback/20220612213416im_/https://answers.unity.com/themes/thub/images/avi.jpg)