Wind Zones add realism to the trees you create by making them wave their branches and leaves as if blown by the wind.
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 wind force. Produces a softly changing wind pressure. |
Turbulence | The turbulence wind force. Produces a rapidly changing wind pressure. |
Pulse Magnitude | Defines how much the wind changes over time. |
Pulse Frequency | Defines the frequency of the wind changes. |
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 is really simple. First of all, to create a new wind zone just click on Game Object > Create General > Wind Zone.
Place the wind zone (depending on the type) near the trees created with the tree creator and watch it interact with your trees!.
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.