instantiate a child object - solved

HI

Wondering if anyone can tell me how to make a newly instantiated object a child of another object.

Basically i am instantiating a very simple circle, with a transparency effect to indicate the range of a unit, but i obviously want the circle to move with the unit it is indicating.

I could fairly easily do this manually by just linking their transform.positions, but just thought it would be more neat to make it a child object, so it should then follow its parent automatically.

I assume there is a fairly simple command to do this, but must have missed it in the docs.

thanks

Transform.parent

–Eric

Thanks Eric, thats awsome, exactly what i was looking for.

James