- #1
tom_backton
- 8
- 0
I'm trying to make a simple water simulation for a platform game (some of you will probably think "why should I care what you need it for?" but the fact it's a platform game tells you what point of view the game has). When a body touches the surface of the water, it creates two waves, one for each direction (right & left), with a single wavelengh. I could easily make a simple formula to calculate the wave's properties, for instance Amplitude = body's vertical velocity multiplied by a constant. But I want to know how it works in the real world...The body has a known shape, velocity, mass, etc. what I would like to know is how the body's parameters affect the wave's velocity(v), amplitude(A) and wavelengh([tex]\lambda[/tex]).