SpeedTree
Grass and other details

Wind Zones

To create the effect of wind on your Terrain, 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 go to GameObject > 3D Object > Wind Zone. You can add the Wind Zone component to any suitable GameObject already in the Scene (menu: Component > Miscellaneous > Wind Zone). The Inspector for the Wind Zone has a number of settings to control its behavior.

Wind Zone inspector
Wind Zone inspector

For details on all of the Wind Zone settings, see documentation on the Wind Zone component.

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.

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 System reference page for further details.


  • 2019–01–29 Page amended with editorial review

  • Added new screenshot and links to other resources

SpeedTree
Grass and other details
Copyright © 2020 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961