- Home /
 
               Question by 
               MauserPT7 · May 15, 2013 at 06:27 PM · 
                collisiongameobjecttriggerplayer  
              
 
              How to make a box (or any object) appear on collide?
Hi, I'm very new to scripting and am stuck :P I want to be able to make a simple object like a box or 3D text appear in a specific place in the game environment when the player collides with a trigger. I do not want the object to disappear after however. Anything I've Googled usually does the opposite.
               Comment
              
 
               
              Answer by Graham-Dunnett · May 15, 2013 at 06:39 PM
See:
http://docs.unity3d.com/Documentation/Manual/InstantiatingPrefabs.html
for the way to create new copies of game objects or prefabs. Just arrange for the Instantiate() to be called inside your OnCollisionEnter() code. 
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                