__风区__使创建的树挥动树枝和树叶,仿佛被风吹动一样,因此能为树添加真实感。
属性: | 功能: |
---|---|
Mode | |
Spherical | 风区仅在半径内有效果,并且从中心向边缘衰减。 |
Directional | 风区在一个方向上影响整个场景。 |
Radius | 球形风区 (Spherical Wind Zone) 的半径(仅在模式设置为 Spherical 时才有效)。 |
Main | 主风力。产生轻微变化的风压。 |
Turbulence | 强风气流。产生快速变化的风压。 |
Pulse Magnitude | 定义风随时间变化的程度。 |
Pulse Frequency | 定义风的变化频率。 |
__风区__仅由树创建器用于对树叶和树枝添加动画。这有助于让场景看起来更自然,并允许游戏中的作用力(例如爆炸)看起来像在与树木相互作用。 有关树的工作原理的更多信息,请访问树类页面。
在 Unity 中使用__风区__十分简单。 首先,要新建__风区__,只需单击 Game Object > 3D Object > Wind Zone。
将风区(取决于类型)放置在使用树创建器创建的树附近,并观察风区与树的相互作用!
注意:如果风区为球形风区,放置风区时应让被风吹的树位于球体半径内。如果风区为定向风区,则风区在场景中的放置位置并不重要。
2017–09–19 页面已修订并只进行了有限的编辑审查
在 Unity 4.6 中更改了 GameObject 菜单
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.