Version: 2017.2
Свойства Leaf Group
Системы Частиц

Tree - Wind Zones

Зоны ветра (Wind Zones) добавляют реалистичности создаваемым вами деревьям, заставляя их ветки и листья шевелиться под действием ветра.

To the left a Spherical Wind Zone, to the right a Directional Wind zone.
To the left a Spherical Wind Zone, to the right a Directional Wind zone.

Свойства

Свойство: Функция:
Mode
        Spherical Зона ветра действует только в рамках указанного радиуса и ветер дует из центра к поверхности сферы.
        Directional Зона ветра действует на всю сцену в определённом направлении.
Radius Радиус сферической зоны ветра (активно, только если выставлен режим Spherical).
Main Основная сила ветра. Приводит к плавному изменению давления ветра.
Turbulence Сила турбулентности ветра. Приводит к резкому изменению давления ветра.
Pulse Magnitude Определяет то, как сильно меняется ветер со временем.
Pulse Frequency Определяет частоту изменений ветра.

Details

Wind Zones are used only by the tree creator for animating leaves and branches. This can help your scenes appear more natural and allows forces (such as explosions) within the game to look like they are interacting with the trees. For more information about how a tree works, just visit the tree class page.

Using Wind Zones in Unity

Using Wind Zones in Unity is really simple. First of all, to create a new wind zone just click on Game Object > 3D Object > Wind Zone.

Разместите зону ветра (в зависимости от её типа) рядом с деревьями, созданными в Tree Creator и смотрите, как она взаимодействует с вашими деревьями!

Note: If the wind zone is Spherical you should place it so that the trees you want to blow are within the sphere’s radius. If the wind zone is directional it doesn’t matter where in the scene you place it.

Советы

  • Для создания основного плавно меняющегося ветра:
    • Create a directional wind zone.
    • Set Wind Main to 1.0 or less, depending on how powerful the wind should be.
    • Set Turbulence to 0.1.
    • Set Pulse Magnitude to 1.0 or more.
    • Set Pulse Frequency to 0.25.
  • Для создания эффекта от пролетающего вертолёта:
    • Create a spherical wind zone.
    • Set Radius to something that fits the size of your helicopter
    • Set Wind Main to 3.0
    • Set Turbulence to 5.0
    • Set Pulse Magnitude to 0.1
    • Set Pulse Frequency to 1.0
    • Attach the wind zone to a GameObject resembling your helicopter.
  • Для создания эффекта взрыва:
    • Do the same as with the helicopter, but fade the Wind Main and Turbulence quickly to make the effect wear off.

  • 2017–09–19 Page amended with limited editorial review

  • GameObject menu changed in Unity 4.6

Свойства Leaf Group
Системы Частиц