Calculate distance of a rock thrown at certain angle, velocity and wind speed/direction.
I'm using this: 2(vi^2)sin(theta)cos(theta)/9.8 to calculate the distance of the throw. How could I implement a wind value and direction into this equation? This is only a 2D simulation, so the wind would only affect the x value.
Thanks for the help.