Hi,
Sorry if it’s a noobish question,
But in my OnCollisionEnter, whenever it detects a collision with Object A, and then detects collision with Object B -
Once there’s another collision with Object A, it doesn’t respond to it…
My code:
function OnCollisionEnter(collision:Collision){
if(collision.gameObject.name=="ObjectA")
Debug.Log("1");
if(collision.gameObject.name=="ObjectB")
Debug.Log("2");
}