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

搜索資源 注冊|登陸

等待

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

unity3d視頻教程

unity3d視頻教程

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

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

關閉

Unity組件:Physics Manager 物理管理器

關注:1199 留言:0 樓主:mined 發(fā)帖時間:15年11月16日

mined

普通會員

mined

社區(qū)家人:5級

關注3154人

  • 性別

  • 年齡

    18

  • 積分

    153

  • 登陸

    2

  • 發(fā)帖

    3

  • 留言

    1

  • 作品

    1

間隔線

You can access the Physics Manager by selecting Edit->Project Settings->Physics from the menu bar.

你可以在菜單Edit->Project Settings->Physics中打開物理管理器。


The Physics Manager 物理管理器

Properties 屬性
  • Gravity 重力
    The amount of gravity applied to all Rigidbodies. Usually gravity acts only on the Y-axis (negative is down). Gravity is meters/(seconds^2).
    重力應用于所有剛體,一般重力僅在Y軸起作用(y軸負方向是向下)。單位是 米/(秒^2)
  • Default Material 默認材質
    The default Physics Material that will be used if none has been assigned to an individual Collider.
    如果一個碰撞體沒有設置物理材質的話,將會設置為默認材質。
  • Bounce Threshold 反彈閾值
    Two colliding objects with a relative velocity below this value will not bounce. This value also reduces jitter so it is not recommended to set it to a very low value.
    如果2個碰撞體的相對速度低于該值,那么將不會反彈。該值也用于減少抖動,所以不建議設置為很低的值。
  • Sleep Velocity 休眠速度
    The default linear velocity, below which objects start going to sleep.
    默認線速度,低于該速度的物體將會進入休眠。
  • Sleep Angular Velocity
    休眠角速度
    The default angular velocity, below which objects start going to sleep.
    默認角速度,低于該速度的物體將會進入休眠。
  • Max Angular Velocity
    最大角速度
    The default maximimum angular velocity permitted for any Rigidbodies. The angular velocity of Rigidbodies is clamped to stay within Max Angular Velocity to avoid numerical instability with quickly rotating bodies. Because this may prevent intentional fast rotations on objects such as wheels, you can override this value for any Rigidbody by scripting Rigidbody.maxAngularVelocity.
    任何剛體都有默認的最大角速度。限制剛體角速度可以避免旋轉時的數(shù)值不穩(wěn)定。有時這個值會讓我們無法讓某些物體快速地旋轉(例如車輪),可以在腳本Rigidbody.maxAngularVelocity中改變該值。
  • Min Penetration For Penalty
    最小穿透禁區(qū)
    How deep in meters are two objects allowed to penetrate before the collision solver pushes them apart. A higher value will make objects penetrate more but reduces jitter.
    在碰撞檢測器將2個物體分開前,它們可以穿透多少米的距離。較高的值會導致較多的物體穿透,不過可以減少抖動。
  • Solver Iteration Count
    求解迭代次數(shù)
    Determines how accurately joints and contacts are resolved. Usually a value of 7 works very well for almost all situations.
    決定了關節(jié)和連接的計算精度。一般設置為7就可以適用于大多數(shù)情況。
  • Raycasts Hit Triggers
    射線檢測命中觸發(fā)
    If enabled, any Raycast that intersects with a Collider marked as a Trigger will return a hit. If disabled, these intersections will not return a hit.
    如果啟用,那么進行射線檢測時命中碰撞體會返回一個命中消息。如果關閉,則不返回命中消息。
  • Layer Collision Matrix
    層碰撞矩陣
    Defines how the layer-based collision detection system will behave.
    定義層碰撞檢測系統(tǒng)的行為。
Details 細節(jié)

The Physics Manager is where you define the default behaviors of your world. For an explanation of Rigidbody Sleeping, read this page about sleeping.

物理管理器用于設置游戲世界里的默認行為。如果想了解關于剛體休眠的內容,請閱讀休眠(sleeping)頁面。

Hints 提示
  • If you are having trouble with connected bodies oscillating and behaving eratically, setting a higher Solver Iteration Count may improve their stability, but will require more processing power.
    如果你碰到了剛體連接振蕩和行為不正常的問題,設置更高的求解迭代次數(shù)可提高其穩(wěn)定性,但這將需要更多的計算開銷。

贊0 踩0

未知用戶

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

VIP

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

回頂部

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