The Physic Material is used to adjust friction and bouncing effects of colliding objects.
物理材質(zhì)用于調(diào)整摩擦力和碰撞單位之間的反彈效果。
To create a Physic Material select Assets->Create->Physic Material from the menu bar. Then drag the Physic Material from the Project View onto a Collider in the scene.
創(chuàng)建物理材質(zhì)的方式是選擇菜單欄的Assets->Create->Physic Material。然后將其從項(xiàng)目視圖中拖給場景中的一個(gè)碰撞單位。

The Physic Material Inspector 物理材質(zhì)的檢視視圖。
Properties 屬性
Dynamic Friction 動(dòng)態(tài)摩擦力
The friction used when already moving. Usually a value from 0 to 1. A value of zero feels like ice, a value of 1 will make it come to rest very quickly unless a lot of force or gravity pushes the object.
滑動(dòng)摩擦力。當(dāng)物體移動(dòng)時(shí)的摩擦力。通常為0到1之間的值。值為0的效果像冰,而設(shè)為1時(shí),物體運(yùn)動(dòng)將很快停止,除非有很大的外力或重力來推動(dòng)它。
Static Friction 動(dòng)態(tài)摩擦力
The friction used when an object is laying still on a surface. Usually a value from 0 to 1. A value of zero feels like ice, a value of 1 will make it very hard to get the object moving.
靜摩擦力。當(dāng)物體在表面靜止的摩擦力。通常為0到1之間的值。當(dāng)值為0時(shí),效果像冰,當(dāng)值為1時(shí),使物體移動(dòng)十分困難。
Bouncyness 彈力
How bouncy is the surface? A value of 0 will not bounce. A value of 1 will bounce without any loss of energy.
表面的彈力。值為0時(shí)不發(fā)生反彈。值為1時(shí)反彈不損耗任何能量。
Friction Combine Mode
摩擦力組合方式
How the friction of two colliding objects is combined.
定義兩個(gè)碰撞物體的摩擦力如何相互作用。
Average 平均
The two friction values are averaged.
使用兩個(gè)摩擦力的均值。
Min 最小值
The smallest of the two values is used.
最小值。使用兩個(gè)值中最小的一個(gè)。
Max 最大值
The largest of the two values is used.
最大值,使用兩個(gè)值中最大的一個(gè)。
Multiply 相乘
The friction values are multiplied with each other.
相乘。使用兩個(gè)摩擦力的乘積。
Bounce Combine 反彈組合
How the bouncyness of two colliding objects is combined. It has the same modes as Friction Combine Mode
定義兩個(gè)相互碰撞的物體的相互反彈模式,它的模式種類和相互摩擦力模式一樣。
Friction Direction 2 摩擦力方向2
The direction of anisotropy. Anisotropic friction is enabled if this direction is not zero. Dynamic Friction 2 and Static Friction 2 will be applied along Friction Direction 2.
各向異性摩擦力的方向。如果這個(gè)向量是非零的,向異性摩擦力被啟用;瑒(dòng)摩擦力2與靜摩擦力2應(yīng)用于該方向。向異性摩擦力用來定義不同方向的不同摩擦力,比如用于實(shí)現(xiàn)一個(gè)滑板,它向前和向后的摩擦力都很小,但是往兩邊的摩擦力很大。
Dynamic Friction 2 動(dòng)態(tài)摩擦力 2
If anisotropic friction is enabled, DynamicFriction2 will be applied along Friction Direction 2.
如果各向異性摩擦力生效,那么滑動(dòng)摩擦力2將應(yīng)用于該方向。
Static Friction 2 靜態(tài)摩擦力 2
If anisotropic friction is enabled, StaticFriction2 will be applied along Friction Direction 2.
如果向異性摩擦力生效,那么靜摩擦力2將應(yīng)用于該方向。
Details 細(xì)節(jié)
Friction is the quantity which prevents surfaces from sliding off each other. This value is critical when trying to stack objects. Friction comes in two forms, dynamic and static. Static friction is used when the object is lying still. It will prevent the object from starting to move. If a large enough force is applied to the object it will start moving. At this point Dynamic Friction will come into play. Dynamic Friction will now attempt to slow down the object while in contact with another.
摩擦力是使得表面不相互滑動(dòng)的量。當(dāng)想把物體堆在一起時(shí),這個(gè)值很關(guān)鍵。摩擦力表現(xiàn)為兩種形式:滑動(dòng)摩擦力和靜摩擦力。靜摩擦力在物體靜止時(shí)生效,它阻止物體開始運(yùn)動(dòng)。而當(dāng)外力夠大時(shí)物體開始運(yùn)動(dòng),這時(shí)滑動(dòng)摩擦力將生效,它嘗試使物體變慢,當(dāng)其與其他物體接觸時(shí)。
Hints
- Don't try to use a standard physic material for the main character. Make a customized one and get it perfect.
不要讓主角使用標(biāo)準(zhǔn)的物理材質(zhì),為其定制一個(gè)來達(dá)到完美效果