Hi folks, I've got a basic understanding of collisions, but what I want to know is this:
Can I make an object pass through another, but still have OnCollisionEnter called?
asked Jul 15, 2010 at 11:27 AM
it sounds like what you want are trigger events. You need to set your Collider to 'isTrigger = true' (either via the check box in the collider component or via scripting).
Then they won't actually call Collision events, but rather 'trigger' events when another object passes through them. (eg OnTriggerEnter, OnTriggerExit and OnTriggerStay)
answered Jul 15, 2010 at 11:47 AM