- Home /
Triggers not being called
I've got a simple scene with a plane for the ground, a rigidbody box collider that moves around based on user input, and a static trigger. The first time my collider moves into the trigger I get OnTriggerEnter, OnTriggerStay, and OnTriggerExit notices. The second time my collider enters the trigger, nothing happens.
If I have three triggers, I still only get notices for the first trigger that is entered.
According to the collision matrix, Static Triggers and Rigidbody Colliders should cause trigger notices (and it does, the first time, but never after that).
Is this a bug, or is there something I'm missing?
$$anonymous$$ake sure you don't have the tab "Collapse" marked in your console. If it still doesn't work post some code as DaveA asked.
Thanks $$anonymous$$ona! I had "Collapse" turned on, and it was filtering out the message. I've been stuck on this "bug" for over a week! Thanks!
Answer by Azound · Feb 23, 2011 at 06:09 AM
Make sure that the Console does not have "Collapse" turned on, as it will filter out repeat messages.
Answer by efge · Feb 22, 2011 at 01:43 PM
Try to use a BoxCollider (not the default MeshCollider) and give it some height/depth under your plane.