Wind ZonesA GameObject that adds the effect of wind to your terrain. For instance, Trees within a wind zone will bend in a realistic animated fashion and the wind itself will move in pulses to create natural patterns of movement among the tree. More info
See in Glossary 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 sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info See in Glossary 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 > 3D Object > 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.
2017–09–19 Page amended
GameObject menu changed in Unity 4.6