I was thinking a bit, and i can’t understand how OnTriggerEnter knows who’s our character, can anyone explain that for me?
Well as you might know, a you use the function like this:
void OnTriggerEnter(Collider other)
then the variable “other” can be used to subtract information. For instance if you want to know if the collider wich just entered is the player you ask something like this:
if(other.gameObject.tag == "Player"){
//Do loads of stuff! :)
}
I hope i answered your question!?
Brum.