Cars keep driving through barriers

I am making a car racing game, and both cars go through all walls. I don’t want this to happen. However, we have tried everything: enabling physics, friction, playing with mass, etc. Why are our cars still driving through the walls?

Please check the answer to the similar question in this topic.