I'm using Unity's standard assets scripts to move my car, but the camera just follows the road.
At certain moments when the car misses or overturns the player can press 'R' to reposition the car in the middle of the road in the position where I miss or turn over.
When the car respawns, it should not collide with other cars in the race, for a few seconds. After those few seconds everything returns to normal.
I thought about using layers, but I did not find how to modify the "Layer Collision Matrix" dynamically from a script. How do I do that?