I have been over this a 100 times in the past. Collisions and triggers in unity. This page: http://docs.unity3d.com/Documentation/Components/class-BoxCollider.html has a collision chart which shows that a Rigidbody Trigger Collider should send a trigger message AT ALL TIMES when it collides with something other then air.
So my detection zone is a Rigidbody trigger box collider, with gravity turned off. Then i have my ''triggers'' which are on the playable character, those are empty game object with just a box collider that has IS TRIGGER on it.
when testing this however, Nothing happens.
I attached the following code on my rigidbody:
public class HitTest : MonoBehaviour {
void OnTriggerStay(){
Debug.Log("Hit! Obj: "+this.gameObject.name);
}
}
The problem is resolved by making the other object a rigidbody as well, but this messes up a lot of stuff on the playable character somehow, i want to prevent this at all costs.
Any ideas on what i did wrong here?
Thanks in advance, Smiley