- Home /
Question by
joshocaoimh · Nov 08, 2021 at 05:50 PM ·
instantiateparentspawningparenting
Insantiate object to parent without changing scale?
I'm using the following line in my script to instantiate an object from an array at the position of the spawner. I want to set the spawned object's parent to the spawner. The line below works but the spawned objects scales to the parents scale. How can I set the parent without changing the spawned objects scale?
GameObject clone = Instantiate(sculpturesToPickFrom[randomIndex], transform.position, Quaternion.identity, transform.parent);
Comment