I’ve got two objects “b1” and “t1”
I’ve added rigidbody to both, and on b1 checked the “isKinematic”.
on “t1” I’ve checked “Is Trigger”.
And on b1 I’ve added this code:
function OnCollisionEnter(theCollision : Collision) {
if(theCollision.gameObject.name == "t1"){
Debug.Log("hit");
}
}
And it’s just not appear to be detecting… Need help people!