Version: 2021.1
SpeedTree
El pasto/césped y otros detalles

Zonas de Viento(Wind Zones)

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.

Usando Zonas de Viento

To create a Wind Zone GameObject directly, go to Unity’s top menu and then 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

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.

Propiedades

Propiedad: Función:
Mode
        Spherical Las Zonas de Viento solo tienen un efecto dentro del radio, y tienen una caída (falloff) desde el centro hacia el borde.
        Directional Las Zonas de viento afectan la escena entera en una dirección.
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.

Sistema de Partículas(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.

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