You can create the effect of wind on your terrain by adding one or more objects with Wind Zone components. Trees within a wind zone will bend in a realistic animated fashion and the wind itself will move in pulses to create natural patterns of movement among the tree.
A wind zone object can be created directly (menu: GameObject > 3D Object > Wind Zone) or you can add the component to any suitable object already in the scene (menu: Component > Miscellaneous > Wind Zone). The inspector for the wind zone has a number of options to control its behaviour.
The Mode can be set to Directional or Spherical. In Directional mode, the wind will affect the whole terrain at once while a Spherical wind blows outwards within a sphere defined by the Radius property. Directional winds are more useful for creating natural movement of the trees while spherical winds are more suitable for special effects like explosions.
The Main property determines the overall strength of the wind but this can be given a little random variation using Turbulence. As mentioned above, the wind blows over the trees in pulses to create a more natural effect. The strength of the pulses and the time interval between them can be controlled using the Pulse Magnitude and Pulse Frequency properties.
The main use of wind is to animate trees but it can also affect particles generated by a particle system using the External Forces module. See the reference page for Particle Systems for further details.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Is something described here not working as you expect it to? It might be a Known Issue. Please check with the Issue Tracker at issuetracker.unity3d.com.
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thanks for helping to make the Unity documentation better!