Not sure what I'm doing wrong, but I still can't get this working
I have my main character which is an Animated Sprite, and I have added to this a Rigidbody. I have added a Box Collider to my main character. I have checked Is Trigger and Is Kinematic.
My enemy is a prefab that I create in the script. Within the prefab I have added a Box Collider.
Just as a simple test to see if things were working I added this function into the script associated with my main character.
void OnTriggerEnter(Collider other){
Destroy(other.gameObject);
}
It looks like the function is never being called, even though I clearly see the objects intersection at playback.