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

搜索資源 注冊|登陸

等待

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

繪制真實(shí)照片

繪制真實(shí)照片

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

這是臨摹的終極表現(xiàn)!在臨摹領(lǐng)域達(dá)到真實(shí)照片的級別,讓你的繪畫讓別人驚呼吧!這不是照片,真的是繪畫出來的。我們一起來學(xué)習(xí)吧!

關(guān)閉

Unity組件:Character Joint 角色關(guān)節(jié)

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

弘毅001

普通會員

弘毅001

社區(qū)新人:1級

關(guān)注3600人

  • 性別

  • 年齡

    18

  • 積分

    1

  • 登陸

    1

  • 發(fā)帖

    1

間隔線

Character Joints are mainly used for Ragdoll effects. They are an extended ball-socket joint which allows you to limit the joint on each axis.

角色關(guān)節(jié)主要用于實(shí)現(xiàn)布娃娃效果。角色關(guān)節(jié)是擴(kuò)展的球關(guān)節(jié),可以用于限制關(guān)節(jié)在不同旋轉(zhuǎn)軸下的旋轉(zhuǎn)角度。

If you just want to set up a ragdoll read about Ragdoll Wizard.

如果您只是想建立布娃娃,請參閱組件中Ragdoll Wizard部分的內(nèi)容。


The Character Joint on a Ragdoll 布娃娃中的角色關(guān)節(jié)示例

Properties 屬性
  • Connected Body 連接體
    Optional reference to the Rigidbody that the joint is dependent upon. If not set, the joint connects to the world.
    (可選)關(guān)節(jié)依賴的的剛體。如果沒有設(shè)置表示該關(guān)節(jié)與世界相連。
  • Anchor
    The point in the GameObject's local space where the joint rotates around.
    游戲?qū)ο缶植靠臻g中的點(diǎn),此關(guān)節(jié)繞此點(diǎn)進(jìn)行旋轉(zhuǎn)。
  • Axis 扭軸
    The twist axes. Visualized with the orange gizmo cone.
    關(guān)節(jié)的扭軸,以橙色的gizmo圓錐顯示。
  • Swing Axis 擺軸
    The swing axis. Visualized with the green gizmo cone.
    關(guān)節(jié)的擺軸,以綠色的gizmo圓錐顯示。
  • Low Twist Limit 扭軸下限
    The lower limit of the joint. 關(guān)節(jié)扭軸的下限
  • High Twist Limit 扭軸上限
    The higher limit of the joint. 關(guān)節(jié)扭軸的上限
  • Swing 1 Limit 擺軸限制1
    Lower limit around the defined Swing Axis 擺軸的下限參數(shù)
  • Swing 2 Limit 擺軸限制2
    Upper limit around the defined Swing Axis 擺軸的上限參數(shù)
  • Break Force 斷開力
    The force that needs to be applied for this joint to break.
    讓關(guān)節(jié)斷開所需要施加的力。
  • Break Torque 斷開扭矩
    The torque that needs to be applied for this joint to break.
    讓關(guān)節(jié)斷開所需要施加的力矩。
Details 細(xì)節(jié)

Character joint's give you a lot of possibilities for constraining motion like with a universal joint.

角色的關(guān)節(jié)提供了很多可能性用于約束通用關(guān)節(jié)的運(yùn)動。

The twist axis (visualized with the orange gizmo) gives you most control over the limits as you can specify a lower and upper limit in degrees (the limit angle is measured relative to the starting position). A value of -30 in Low Twist Limit->Limit and 60 in High Twist Limit->Limit limits the rotation around the twist axis (orange gizmo) between -30 and 60 degrees.

扭矩(以橙色的gizmo顯示)為關(guān)節(jié)的運(yùn)動提供了限制,扭矩允許用戶以角度的形式設(shè)置關(guān)節(jié)旋轉(zhuǎn)的下限和上限(角度是相對初始位置進(jìn)行衡量的)。如-30度的扭矩下限和60度的扭矩上限限制了繞扭軸(橙色gizmo)的旋轉(zhuǎn)角度在-30度到60度之間。

The Swing 1 Limit limits the rotation around the swing axis (green axis). The limit angle is symmetric. Thus a value of eg. 30 will limit the rotation between -30 and 30.

擺軸限制1限制了繞擺軸的旋轉(zhuǎn)(綠軸)。對擺軸旋轉(zhuǎn)角度的限制是對稱的,因此如設(shè)置擺軸1的限制角度為30則表示擺軸1的旋轉(zhuǎn)被限制在-30和30之間。

The Swing 2 Limit axis doesn't have a gizmo but the axis is orthogonal to the 2 other axes. Just like the previous axis the limit is symmetric, thus a value of eg. 40 will limit the rotation around that axis between -40 and 40 degrees.

擺軸限制2沒有g(shù)izmo輔以顯示,此軸垂直于與扭軸和擺軸1。與擺軸1相同,對擺軸2旋轉(zhuǎn)角度的限制也是對稱的,因此如設(shè)置擺軸2的限制角度為40則表示擺軸2的旋轉(zhuǎn)被限制在-40和40之間。

Breaking joints 斷開關(guān)節(jié)

You can use the Break Force and Break Torque properties to set limits for the joint's strength. If these are less than infinity, and a force/torque greater than these limits are applied to the object, its Fixed Joint will be destroyed and will no longer be confined by its restraints.

通過設(shè)置斷開力和斷開扭矩屬性可以限制關(guān)節(jié)的強(qiáng)度。如斷開力和斷開扭矩小于無窮大,并且有大于斷開力和斷開扭矩限制的力或力矩作用于物體,其固定的關(guān)節(jié)鏈接將被摧毀并不再受限于相應(yīng)的約束。

Hints 提示
  • You do not need to assign a Connected Body to your joint for it to work.
    即使沒有設(shè)置與關(guān)節(jié)相鏈的肢體,關(guān)節(jié)也可以工作
  • Character Joints require your object to have a Rigidbody attached.
    角色關(guān)節(jié)組建需要物體有附著的剛體組件

贊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)教程!!