Tank game, falling terrain, how is it done?

You guys must have played games like scorched earth and pocket tanks…how do they make it so the terrain falls down when there is nothing under it. Any idea on how to do this in opengl?