You need to somehow have a threshold for the calculation of how the wind influences the rocket. This is due to the wind being a random factor in the calculation, or in other words, a variable that changes within a certain range. So, say w is wind, and R is the rocket’s propulsive force at every tick (or throughout its full path), there needs to be a check on both of those per tick. That way the wind influences the rocket correctly. If the wind speed and direction are only affecting the rocket once in its initial straight-line path, then you probably don’t need a bunch of ticks, rather only a few. It would be better to determine the first tick by initial path trajectory (not time), because then the value of it could be plugged into the tick that determines wind influence on the initial trajectory. This means it is calculating the arc or curve which is getting formed by the wind influence, and that the rocket then follows. You really need to look up a formula or equation that is similar to the exact scenario of a horizontally moving object with mass and velocity and how it is affected by a wind variable. It has to be a variable of speed because the wind speed changes during the rocket’s trajectory and influences it still while changing, with wind direction calculated using a vector most likely. Forget about gravity for now since it has a far lesser influence in the scenario depicted by the example. It can be dealt with later after a proper formula or equation (preferably a function equation) is found.