Version: 2022.1
SpeedTree
Grass and other details

Wind Zones

Switch to Scripting

To create the effect of wind on your TerrainThe landscape in your scene. A Terrain GameObject adds a large flat plane to your scene and you can use the Terrain’s Inspector window to create a detailed landscape. More info
See in Glossary
and Particle Systems, you can add one or more GameObjects with Wind Zone components. Trees within a wind zone bend in a realistic animated fashion, and the wind itself moves in pulses to create natural patterns of movement among the trees.

Using Wind Zones

To create a Wind Zone GameObject directly, go to Unity’s top menu and then go to GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
> 3D ObjectA 3D GameObject such as a cube, terrain or ragdoll. More info
See in Glossary
> Wind Zone. You can add the Wind Zone component to any suitable GameObject already in the SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
(menu: ComponentA functional part of a GameObject. A GameObject can contain any number of components. Unity has many built-in components, and you can create your own by writing scripts that inherit from MonoBehaviour. More info
See in Glossary
> Miscellaneous > Wind Zone). The InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary
for the Wind Zone has a number of settings to control its behavior.

Wind Zone Inspector
Wind Zone Inspector

You can set the Mode to Directional or Spherical.

  • In Directional mode, the wind affects the whole Terrain at once. This is useful for creating effects like the natural movement of the trees.
  • In Spherical mode, the wind blows outwards within a sphere defined by the Radius property. This is useful for creating special effects like explosions.

The Main property determines the overall strength of the wind, and you can use Turbulence to give these some random variation.

The wind blows over the trees in pulses to create a more natural effect. You can control the strength of the pulses with Pulse Magnitude, and the time interval between them with Pulse Frequency.

Properties

Property: Function:
Mode
        Spherical Wind zone only has an effect inside the radius, and has a falloff from the center towards the edge.
        Directional Wind zone affects the entire scene in one direction.
Radius Radius of the Spherical Wind Zone (only active if the mode is set to Spherical).
Main The primary force applied to all objects affected by the Wind Zone.
Turbulence The value represents the noise of the wind. A greater value creates higher variation in wind direction.
Pulse Magnitude Defines the strength multiplier of the wind pulses.
Pulse Frequency Defines the length and frequency of the wind pulses.

Particle Systems

The main use of wind is to animate trees, but it can also affect particles in a Particle System if that Particle System uses the External Forces module module. See the Particle SystemA component that simulates fluid entities such as liquids, clouds and flames by generating and animating large numbers of small 2D images in the scene. More info
See in Glossary
reference page for further details.

SpeedTree
Grass and other details