- Home /
Making Shield Power-Up
I tried in making a simple Shield Power-Up.
So these are my steps
created a shield pick up
so then when i pick it up it will destroy itself and spawn the actual shield prefab
then when it spawns it attaches to the player - and the shield has a radius of col at 5 and then it destroys after 10 seconds
And the question is why does spawned shield wont attach to the player. I even tried using find parent
Answer by Loius · Jun 22, 2012 at 02:55 PM
When it's picked up
newShield = Instantiate(ShieldObject, player.transform.position + desiredOffset);
newShield.transform.parent = player.transform;
Your answer
Follow this Question
Related Questions
Update not being called every frame 2 Answers
Shield for player in multiplayer fps malfunctioning 0 Answers
How do i make my player sprite change, when entering a powerup? 1 Answer
Creating ship energy shields effect 2 Answers
Influencing Third Person Controller's walk speed from another method? 1 Answer