How can I hide an object when hit by Bullet?
Hi!
How can I make a gameObject like a box disappear when it's hit by a bullet with a tag like "ObjectHider"? And then make the box appear again after 10 seconds? I can't use the destroy function because that would just delete the item right? I am using physical bullets and not Reycast.
Answer by kirill-codecombat · Jun 24, 2016 at 11:16 AM
Hi!I know the answer, but I can't show you how to do it so take a look: Unity/Learn/Documentation/Scripting API, choose the C# or Js and search what you need; if you won't find it then write me down and I help you!So good luck!
Your answer
Follow this Question
Related Questions
how to find gameobject using a varable 1 Answer
OnTriggerStay not detecting compound colliders? 0 Answers
Unable to use tags on children of a gameobject. 0 Answers
Turn on/off renderer for objects found with "FindGameObjectsWithTag" 1 Answer
Multiple colliders index problem,i have multi colliders, which collider is my? 2 Answers