朱峰社區(qū)首頁 朱峰社區(qū)

搜索資源 注冊|登陸

等待

返回 展開菜單
按功能 按軟件

unity3d視頻教程

unity3d視頻教程

包含11節(jié)視頻教程

從零基礎(chǔ)學(xué)習(xí)unity3d游戲引擎,簡單易學(xué)的視頻教程,讓你快速掌握unity3d,并喜歡上游戲開發(fā)的樂趣。

關(guān)閉

Unity組件:Physic Material 物理材質(zhì)

關(guān)注:2486 留言:0 樓主:xxtts 發(fā)帖時間:15年11月16日

xxtts

普通會員

xxtts

社區(qū)元老:7級

關(guān)注4359人

  • 積分

    577

  • 登陸

    1

  • 發(fā)帖

    2

  • 留言

    1

間隔線

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)目視圖中拖給場景中的一個碰撞單位。


The Physic Material Inspector 物理材質(zhì)的檢視視圖。

Properties 屬性
  • Dynamic Friction 動態(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)物體移動時的摩擦力。通常為0到1之間的值。值為0的效果像冰,而設(shè)為1時,物體運(yùn)動將很快停止,除非有很大的外力或重力來推動它。
  • Static Friction 動態(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時,效果像冰,當(dāng)值為1時,使物體移動十分困難。
  • 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時不發(fā)生反彈。值為1時反彈不損耗任何能量。
  • Friction Combine Mode
    摩擦力組合方式
    How the friction of two colliding objects is combined.
    定義兩個碰撞物體的摩擦力如何相互作用。
  •     Average 平均
    The two friction values are averaged.
    使用兩個摩擦力的均值。
  •     Min 最小值
    The smallest of the two values is used.
    最小值。使用兩個值中最小的一個。
  •     Max 最大值
    The largest of the two values is used.
    最大值,使用兩個值中最大的一個。
  •     Multiply 相乘
    The friction values are multiplied with each other.
    相乘。使用兩個摩擦力的乘積。
  • Bounce Combine 反彈組合
    How the bouncyness of two colliding objects is combined. It has the same modes as Friction Combine Mode
    定義兩個相互碰撞的物體的相互反彈模式,它的模式種類和相互摩擦力模式一樣。
  • 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.
    各向異性摩擦力的方向。如果這個向量是非零的,向異性摩擦力被啟用。滑動摩擦力2與靜摩擦力2應(yīng)用于該方向。向異性摩擦力用來定義不同方向的不同摩擦力,比如用于實(shí)現(xiàn)一個滑板,它向前和向后的摩擦力都很小,但是往兩邊的摩擦力很大。
  • Dynamic Friction 2 動態(tài)摩擦力 2
    If anisotropic friction is enabled, DynamicFriction2 will be applied along Friction Direction 2.
    如果各向異性摩擦力生效,那么滑動摩擦力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)想把物體堆在一起時,這個值很關(guān)鍵。摩擦力表現(xiàn)為兩種形式:滑動摩擦力和靜摩擦力。靜摩擦力在物體靜止時生效,它阻止物體開始運(yùn)動。而當(dāng)外力夠大時物體開始運(yùn)動,這時滑動摩擦力將生效,它嘗試使物體變慢,當(dāng)其與其他物體接觸時。

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ì),為其定制一個來達(dá)到完美效果

贊0 踩0

未知用戶

2005-2025 朱峰社區(qū) 版權(quán)所有 遼ICP備2021001865號-1
2005-2025 ZhuFeng Community All Rights Reserved

VIP

朱峰社區(qū)微信公眾號

回頂部

1.復(fù)制文本發(fā)給您的QQ好友或群、微信等;好友點(diǎn)擊鏈接以后,轉(zhuǎn)發(fā)就成功了。 2.如朋友點(diǎn)擊您的鏈接,您需要需刷新一下才行;同一個好友僅能點(diǎn)擊一次。
購買VIP,觀看所有收費(fèi)教程!