- Home /
 
               Question by 
               aled96 · Mar 26, 2014 at 05:58 PM · 
                collisioncollisiondetection  
              
 
              Collision in code
How can i see if i am colliding with something ? What should i write ? C# please
Thank you so much
               Comment
              
 
               
              Yes, C# is what I would recommend. You might want to search in one of these two places: www.google.com answers.unity3d.com It's been covered thousands of times.
 
               Best Answer 
              
 
              Answer by hbalint1 · Mar 26, 2014 at 06:02 PM
   void OnCollisionEnter(Collision col){
         Debug.Log("Something collided");
     }
Your answer
 
 
             Follow this Question
Related Questions
Obstacle avoidance 1 Answer
Collision detection for sprite 1 Answer
How does Unity detect collision? 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                