查看: 2527|回复: 1
打印 上一主题 下一主题

[Unity 组件参考手册]桌面:树木生成器指南之树木 - 风区

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2013-2-16 22:45:32 |只看该作者 |倒序浏览
Wind Zones add realism to the trees you create by making them wave their branches and leaves as if blown by the wind.风区添加到你创建真实的树木上,来创建使它们挥舞着树枝和树叶仿佛被风吹过。
To the left a Spherical Wind Zone, to the right a Directional Wind zone.
左边一个球面风区,以正确的定向风力区。
Properties 属性    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).
    半径的球形风区(如果模式设置为球形)。
    Wind 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.
    定义风向改变的频率。 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.
在Unity中使用风区Using Wind Zones in Unity is really simple. First of all, to create a new wind zone just click on Game Object -> Create Other -> 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!.首先,创建一个新的风区只要按下 Game Object -> Create Other -> Wind Zone。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.注意:如果风区是球形的,你应该把树放在你想吹在球体的半径内。如果风区是定向的你在场景中怎么放置都没关系。
Hints 提示    To produce a softly changing general wind:
    要柔和变化一般风:
        Create a directional wind zone.
        创建一个方向风区。
        Set Wind Main to 1.0 or less, depending on how powerful the wind should be.
        将小于或等于1.0,风主要取决于多么强大的风。
        Set Turbulence to 0.1.
        将湍流为0.1。
        Set Pulse Magnitude to 1.0 or more.
        将脉冲幅度为1.0或以上。
        Set Pulse Frequency to 0.25.
        设定脉冲频率为0.25。
    To create the effect of a helicopter passing by:
    要创建的直升机路过的效果:
        Create a spherical wind zone.
        创建一个球风区。
        Set Radius to something that fits the size of your helicopter
        设置半径为一些适合你的直升机的大小
        Set Wind Main to 3.0
        将风主要为3.0
        Set Turbulence to 5.0
        将湍流至5.0
        Set Pulse Magnitude to 0.1
        设置脉冲幅度为0.1
        Set Pulse Frequency to 1.0
        设定脉冲频率为1.0
        Attach the wind zone to a GameObject resembling your helicopter.
        连接到一个物体类似的直升机风区。
    To create the effect of an explosion:
    要创建一个爆炸的效果:
        Do the same as with the helicopter, but fade the Wind Main and Turbulence quickly to make the effect wear off.
        不要与直升机一样,但要快速淡出主要风和紊流来制作逐渐减弱的效果。 【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

nts    

3

主题

1

听众

743

积分

初级设计师

Rank: 3Rank: 3

纳金币
7
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

沙发
发表于 2013-10-20 12:54:02 |只看该作者
球面风区,以正确的定向风力区
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

关闭

站长推荐上一条 /1 下一条

手机版|纳金网 ( 闽ICP备08008928号

GMT+8, 2024-5-12 23:11 , Processed in 0.086973 second(s), 32 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部