Version: 2019.3
SpeedTree
Grass and other details

Зоны ветра

To create the effect of wind on your Terrain 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.

Использование зон ветра

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.

Свойства

Свойство: Функция:
Mode
        Spherical Зона ветра действует только в рамках указанного радиуса и ветер дует из центра к поверхности сферы.
        Directional Зона ветра действует на всю сцену в определённом направлении.
Radius Радиус сферической зоны ветра (активно, только если выставлен режим 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.

Системы частиц

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.

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