Hi Devs, I am a decently new developer who isn’t very good at math when it comes to scripting. I need someone to point me in the right direction because I have no clue on how the Gerstner Wave Equation works and I need someone to explain it to me or give me examples. I have already made a plane with bones but I am confused on what to do after that.
anyone got ideas? I’m kinda desperate. any support or info will help. I’m just not sure how to incorporate the equation into a script. It’s a little complicated so I can understand if nobody really knows.
is there any reason you have to use this to make the waves?
You could use some simpler noise or trig functions to make a wave effect
like height[x][y] = math.noise(x,y,t)
If you have to use this equation then you can probably google implementations in other languages and copy it over
I’m just a dev that is bad with math when it comes to scripting and I’ve been trying to make a game kind of like sea of thieves but where the water has actual waves. could you give me an example of how this could be used in my scenario, I’m not that smart.