Collision Ignore

I am wondering about for making a racing game, If Ai car and my car both resets, I want them able to ignore their collision for like 5 seconds, against other cars on track but, still have collision against ground and side of the track.

So how extcally can I do this?

using tags for cars to tell the difference between side of the track,ground vs cars.

What about ignore collision

loop through all other cars->
Physics.Ignorecollision(Thiscar collider, other car)

how would I able to turn on the collision afterwards, does it turn on by itself?

Thanks

Yep.

No, you use IgnoreCollision again, except you use false instead of true (true is the default).

–Eric