Unity3d 3.2. I’ve got strange issue with standart 3rd Person Controller it cannot see a collision with another collider, triggering works fine but collision sucks…
function OnTriggerEnter (collider : Collider)
{
if(collider.tag == "ball")
{
Debug.Log("trigEnter");
}
}
function OnTriggerExit (collider : Collider){
if(collider.tag == "ball")
{
Debug.Log("trigExit");
}
}
function OnCollisionEnter (col : Collision)
{
if(col.gameObject.tag == "ball"){
Debug.Log("COLLISION");
}
}
“COLLISION” is not debuging, what can be a reason of it?