I always liked being able to simulate things and this demo does a good job of showing how you could make something similar for your games. This setup is easily adaptable to simulate a large number of environmental things.