Ignoring collisions with...everything

I know of the Physics.IgnoreCollision function, but is there a way to just simple....ignore every collision? Or disable the collider mesh in code?

If you still want to check if an object collided to another but don't want the physics to react with the object then you check or enable the "IsTrigger" in the Inspector.

through the code it would be:

function Update() {
    collider.IsTrigger = true;
}

Hope that helps.