I must be missing something silly, because in my mind it al seems to fit…
I’m trying to make 2 ‘objects’ hit. The both have a boxcollider attached, and also a rigidbody set to kinematic. I am constantly moving both objects by setting their respective transform.positions .
If you read here, last line of hints and plus the table, you can see that this should generate messages.
So to rule out any other random turmoil I made a very simple script:
using UnityEngine;
using System.Collections;
public class TrafficCollisionHandler : MonoBehaviour {
void OnCollisionEnter(Collision colInfo)
{
Debug.Log("Boom! Collision!");
}
}
But no matter what, I get no output. So what am I missing here guys?[/url]