system
1
Greetings,
How would I come to adjust the placement of an object from the “spawner” localPosition when Instantiating?
var clone = Instantiate(vineMissil, transform.position, transform.rotation);
I’d like the object to instantiate behind the Object on it’s local z axis.
The second paramater of the ‘Instantiate’ function is just a Vector3 position- if you wanted to offset it by a set amount, just add a value to it!
var clone = Instantiate(vineMissil, transform.position + Vector3(0, 0, 10), transform.rotation);