How to move objects with the wind?

Hello everyone,
The question may not be self-explanatory but I will explain it.
I’m making a game where the lifeguard has to throw tubes to save drowning people. Now, to increase the difficulty, I want to add wind so that the tube moves a little different and the player should adjust to the wind. How do I do that? And, I also want to show an indicator which shows the direction of the wind and also the speed.

Any help would be appreciated. Thank you.

You would need to write a script which would continuously add force to your tube. The function you need to use is AddForce.

So, inside your script, you will need to call it in FixedUpdate. So the final FixedUpdate should look like this:

void FixedUpdate () {
      GetComponent<Rigidbody> ().AddForce(windDirectionInVector3 * windSpeed);
}

This should do the trick.

The answer can be found here.