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.
-
Bending Stiffness 抗彎剛度
Bending stiffness of the cloth.
布料的彎曲強(qiáng)度,0與1之間,越大,越不容易彎曲。
-
Stretching Stiffness 拉伸剛度
Stretching Stiffness of the cloth.
布料的拉伸強(qiáng)度,0與1之間,越大,越不容易拉伸。
Damping 阻尼
Damp cloth motion. 布料運(yùn)動(dòng)的阻尼。
-
Use Gravity 使用重力
Should Gravity affect the cloth simulation?.
布料模擬是否受重力影響。
External Acceleration 外部加速度
A constant, external acceleration applied to the cloth
設(shè)置一個(gè)固定的,外部加速度給布料。
-
Random Acceleration 隨機(jī)加速度
A random, external acceleration applied to the cloth
設(shè)置一個(gè)隨機(jī)的,外部加速度給布料。
Mesh 網(wǎng)格
Mesh that will be used by the interactive cloth for the simulation
用于模擬互動(dòng)布料的網(wǎng)格。
Thickness 厚度
The thickness of the cloth surface. 布料表面的厚度。
Friction 摩擦力
The friction of the cloth. 布料的摩擦系數(shù),0與1之間。
Density 密度
The density of the cloth. 布料的密度
Pressure 壓力
The pressure inside the cloth/
布料內(nèi)部的壓力,僅適用于封閉布料?梢阅M氣球等等。
Collision Response 碰撞反應(yīng)
How much force will be applied to colliding rigidbodies?.
對(duì)撞上布料的剛體施加多大的力。
Attachment Tear Factor
附加撕裂系數(shù)
How far attached rigid bodies need to be stretched, before they will tear off.
布料從掛接剛體撕裂的拉伸程度,掛接剛體必需勾選tearable才生效。
Attachment Response
附加反應(yīng)
How much force will be applied to attached rigidbodies?.
對(duì)掛接的剛體施加多少作用力,只有當(dāng)掛接剛體勾選TwoWayInteraction生效。
Tear Factor 撕裂系數(shù)
How far cloth vertices need to be stretched, before the cloth will tear.
布料的頂點(diǎn)之間距離多長會(huì)被撕開。
Attached Colliders 附加的碰撞器列表
Array that contains the attached colliders to this cloth
一個(gè)包含布料掛接的所有碰撞體的數(shù)組。每個(gè)碰撞體有TwoWayInteraction與Tearable兩個(gè)可選選項(xiàng)。
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.
布料渲染組件依賴于互動(dòng)布料組件,所以當(dāng)布料渲染組件在當(dāng)前GameObject存在時(shí),互動(dòng)布料組件不能被移除。
在場景中創(chuàng)建一個(gè)交互布料,只需要選擇GameObject->Create Other->Cloth.