- Home /
Make instantiation follow me.
Hello everyone, i have a script that instantiates fire at where my enemy bullet collides, the problem is that when it collides me and i'm moving, the fire stays behind instead of following me, what i would like to do is to test my collider and if it is me it collides, instantiate it parented to my object. Any ideas on how to do this? THank you everyone.
Answer by Loius · Feb 15, 2013 at 05:31 PM
fire.transform.parent = me.transform?
almost that, but you pointed me in the right direction, actually "me" is not necessary, but i got it to work, thanks.
Your answer
Follow this Question
Related Questions
Having a door open/disappear when collided with a specific particle... 1 Answer
Instantiate Object and set its parent throws Null Reference Error 2 Answers
Creating text at the position of the gameobjects in world 0 Answers
Destroying an instantiated object colliding with another instantiated object 3 Answers
How to make objects spawn at the same time without colliding ? 1 Answer