|collider2||Another collider you want to have |
|ignore||Whether or not the collisions between the two colliders should be ignored or not.|
This is useful, say, for preventing projectiles from colliding
with the object that fires them.
Note that IgnoreCollision is not persitent. This means ignore collision state will not be stored in the editor when saving a scene.
See Also: Physics.IgnoreLayerCollision.