- Home /
 
 
               Question by 
               vinny2 · Nov 26, 2011 at 07:25 PM · 
                c#gameobjectcollider  
              
 
              Creating a collider in a gameObject using only code
I'm trying to create a sphere collider in my game object, but i don't want to do it on the editor. I want to create this collider inside the script that is attached to the gameobject. How can i do it? :)
               Comment
              
 
               
              Your answer
 
             Follow this Question
Related Questions
Translate.transform problems (collision/Rigibody) 0 Answers
Can't transfer colllider from OnTriggerEnter to a public bool 1 Answer
How can I check if an instantiated object collides with another instantiated object? 1 Answer
Assigning variables in inspector 1 Answer
How to access gameObject variable script 2 Answers