纳金网

标题: [Unity 组件参考手册]组件:物理组件之交互布料 [打印本页]

作者: .    时间: 2013-1-30 20:20
标题: [Unity 组件参考手册]组件:物理组件之交互布料

The Interactive Cloth class is a Component that simulates a "cloth-like" behavior on a mesh. Use this Component if you want to use cloth in your scene.交互布料基于一个网格,来模拟类似布料行为的组件。如果场景中想使用布料,那么就用这个组件。
Interactive cloth in the scene view and its properties in the inspector.
【Properties 属性】
Interactive Cloth 交互布料    ----------------------------------------------------------------------------Bending Stiffness 抗弯刚度
    Bending stiffness of the cloth.
    布料的弯曲强度,0与1之间,越大,越不容易弯曲。
    Stretching Stiffness 拉伸刚度
    Stretching Stiffness of the cloth.
    布料的拉伸强度,0与1之间,越大,越不容易拉伸。
   Damping 阻尼
    Damp cloth motion. 布料运动的阻尼。
    Use Gravity 使用重力
    Should Gravity affect the cloth simulation?.
    布料模拟是否受重力影响。
    External Acceleration 外部加速度
    A constant, external acceleration applied to the cloth
    设置一个固定的,外部加速度给布料。
    Random Acceleration 随机加速度
    A random, external acceleration applied to the cloth
    设置一个随机的,外部加速度给布料。
    Mesh 网格
    Mesh that will be used by the interactive cloth for the simulation
    用于模拟互动布料的网格。
    Thickness 厚度
    The thickness of the cloth surface. 布料表面的厚度。
    Friction 摩擦力
    The friction of the cloth. 布料的摩擦系数,0与1之间。
    Density 密度
    The density of the cloth. 布料的密度
    Pressure 压力
    The pressure inside the cloth/
    布料内部的压力,仅适用于封闭布料。可以模拟气球等等。
    Collision Response 碰撞反应
    How much force will be applied to colliding rigidbodies?.
    对撞上布料的刚体施加多大的力。
    Attachment Tear Factor  附加撕裂系数
    How far attached rigid bodies need to be stretched, before they will tear off.
    布料从挂接刚体撕裂的拉伸程度,挂接刚体必需勾选tearable才生效。
    Attachment Response 附加反应
    How much force will be applied to attached rigidbodies?.
    对挂接的刚体施加多少作用力,只有当挂接刚体勾选TwoWayInteraction生效。
    Tear Factor 撕裂系数
    How far cloth vertices need to be stretched, before the cloth will tear.
    布料的顶点之间距离多长会被撕开。
    Attached Colliders 附加的碰撞器列表
    Array that contains the attached colliders to this cloth
    一个包含布料挂接的所有碰撞体的数组。每个碰撞体有TwoWayInteraction与Tearable两个可选选项。
    Self Collision 自身碰撞
    Will the cloth collide with itself?.
    布料是否自碰撞。The Interactive Cloth Component depends of the Cloth Renderer Component, this means that this component cannot be removed if the Cloth Renderer is present in the Game Object.布料渲染组件依赖于互动布料组件,所以当布料渲染组件在当前GameObject存在时,互动布料组件不能被移除。
----------------------------------------------------------------------------Cloth Renderer 布料渲染器    Cast Shadows 投射阴影
    If selected the cloth will cast shadows
    勾选后布料将会投影。
    Receive Shadows 接收阴影
    The cloth can receive Shadows if enabled
    勾选后布料能被投影。
    Lightmap Index 光照贴图索引
    The index of the lightmap applied to this renderer.
    渲染组件的光照图的索引(好像3.5已经没这个了)。
    Lightmap Tiling Offset 光照贴图平铺偏移
    The tiling & offset used for lightmap.
    设置光照图的平铺与偏移(好像3.5已经没这个了)。
   ---------------------------------------------------------------------------- Materials 材质
    Materials that the cloth will use.
    布料的材质
    Pause When Not Visible
    不可见时暂停
    If selected, the simulation will not be calculated when the cloth is not being rendered by the camera.
    如果勾选,那么在摄像机可见范围外,布料将不进行模拟运算。----------------------------------------------------------------------------Adding an Interactive Cloth Game Object
增加交互布料物件To add an Interactive Cloth in the scene just select GameObject->Create Other->Cloth.在场景中创建一个交互布料,只需要选择GameObject->Create Other->Cloth.
Hints 提示    Using lots of clothes in your game will reduce exponentially the performance of your game.
    使用过多布料将会降低你的游戏性能。
    If you want to simulate clothing on characters, check out the Skinned Cloth component instead, which interacts with the SkinnedMeshRenderer component and is much faster then InteractiveCloth.
    如果你想模拟角色的衣服,那么用蒙皮布料组件来替换交互布料。它对蒙皮网格渲染组件的交互要比交互布料快。
    To attach the cloth to other objects, use the Attached Colliders property to assign other objects to attach to. The colliders must overlap some vertices of the cloth mesh for this to work.
    想要将布料挂接在其他物体上,使用挂接碰撞体配置,设置要挂接的物件。注意,要使其工作,该碰撞体必须与布料在某些顶点重叠。
    Attached Colliders' objects must intersect with the cloth you are attaching to.
    挂接碰撞体的物体必须要和挂接的布料相交。 【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/




欢迎光临 纳金网 (http://rs.narkii.com/club/) Powered by Discuz! X2.5