trigger Enter/Exit several times

Hi,

I’m using a cube/mesh trigger to dectect if my character controller enters a specific area.
It seems to work perfectly, but only once.

function OnTriggerEnter (other : Collider) {
    print (other.name + " ENTERS");
    
}

function OnTriggerExit (other : Collider) {
    print (other.name + " EXITS");
       
}

function Update () {}

I’d like it to work several time, do you have any clue ?

Freid

OnTriggerStay will report trigger messages every frame as long as you are inside the volume. OnTriggerEnter gives you a trigger message each time when you enter and if you exit the volume and then enter it again.

Thanks Joachim, actually it worked perfectly, it was just my print messages which werent updated like i though. I guess i gotta try the debug command instead.

Turn off collapse errors in the console.