I'm making a game and i want to have a water in it. Physically it is simulated just as a static shape sensor which is applying some forces to the bodies in it. But how can i simulate the surface of the water ? I want to be able for example to provide some waves, when some body falls in the water. Thanks
2
votes
2 Answers
4
votes
You might want to have a look at Cem Yuksel's work on wave particles, as well as the references included in his paper. Or Google for "Shallow Water Equations". There have been several implementations for real-time use. There might also be a couple of useful links here.