- Home /
 
               Question by 
               Steve Edwards · Apr 26, 2011 at 08:41 PM · 
                oncollisionenterfirst-person-controller  
              
 
              OnCollisionEnter not working with standard First Person Controller?
My Game Object has a script attached which logs the name of anything colliding with it in OnCollisionEnter:
void OnCollisionEnter(Collision coll)
{
    Debug.Log(coll.gameObject.name);
}
It works correctly when colliding with any object except for the standard Unity First Person Controller. In fact, it seems never to detect this collision. Do I have to do anything special in this case?
Thanks
               Comment
              
 
               
              ugh... my bad, I was thinking of OnTriggerEnter... :P Disregard my post and I'm sorry I don't have any knowledge with OnCollisionEnter.
Your answer
 
 
             Follow this Question
Related Questions
First Person Controller not working with OnCollisionEnter and OnTriggerEnter 1 Answer
Explosion on contact? 1 Answer
FPS Character look up 1 Answer
How do I fix Camera stuttering in first person? 1 Answer
destruction on impact 2 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                