查看: 1371|回复: 0
打印 上一主题 下一主题

[Unity 组件参考手册]组件:物理组件之角色关节

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2013-1-26 20:02:40 |只看该作者 |倒序浏览
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.角色关节主要用于实现布娃娃效果。角色关节是扩展的球关节,可以用于限制关节在不同旋转轴下的旋转角度。If you just want to set up a ragdoll read about Ragdoll Wizard.如果您只是想建立布娃娃,请参阅组件中Ragdoll Wizard部分的内容。The Character Joint on a Ragdoll 布娃娃中的角色关节示例
---------------------------------------------------------------------------------------------------
Properties 属性    Connected Body 连接体
    Optional reference to the Rigidbody that the joint is dependent upon. If not set, the joint connects to the world.
    (可选)关节依赖的的刚体。如果没有设置表示该关节与世界相连。
    Anchor 锚
    The point in the GameObject's local space where the joint rotates around.
    游戏对象局部空间中的点,此关节绕此点进行旋转。
    Axis 扭轴
    The twist axes. Visualized with the orange gizmo cone.
    关节的扭轴,以橙色的gizmo圆锥显示。
    Swing Axis 摆轴
    The swing axis. Visualized with the green gizmo cone.
    关节的摆轴,以绿色的gizmo圆锥显示。
    Low Twist Limit 扭轴下限
    The lower limit of the joint. 关节扭轴的下限
    High Twist Limit 扭轴上限
    The higher limit of the joint. 关节扭轴的上限
    Swing 1 Limit 摆轴限制1
    Lower limit around the defined Swing Axis 摆轴的下限参数
    Swing 2 Limit 摆轴限制2
    Upper limit around the defined Swing Axis 摆轴的上限参数
    Break Force 断开力
    The force that needs to be applied for this joint to break.
    让关节断开所需要施加的力。
    Break Torque 断开扭矩
    The torque that needs to be applied for this joint to break.
    让关节断开所需要施加的力矩。
---------------------------------------------------------------------------------------------------
Details 细节Character joint's give you a lot of possibilities for constraining motion like with a universal joint.角色的关节提供了很多可能性用于约束通用关节的运动。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显示)为关节的运动提供了限制,扭矩允许用户以角度的形式设置关节旋转的下限和上限(角度是相对初始位置进行衡量的)。如-30度的扭矩下限和60度的扭矩上限限制了绕扭轴(橙色gizmo)的旋转角度在-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限制了绕摆轴的旋转(绿轴)。对摆轴旋转角度的限制是对称的,因此如设置摆轴1的限制角度为30则表示摆轴1的旋转被限制在-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没有gizmo辅以显示,此轴垂直于与扭轴和摆轴1。与摆轴1相同,对摆轴2旋转角度的限制也是对称的,因此如设置摆轴2的限制角度为40则表示摆轴2的旋转被限制在-40和40之间。
Breaking joints 断开关节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.通过设置断开力和断开扭矩属性可以限制关节的强度。如断开力和断开扭矩小于无穷大,并且有大于断开力和断开扭矩限制的力或力矩作用于物体,其固定的关节链接将被摧毁并不再受限于相应的约束。
---------------------------------------------------------------------------------------------------
Hints 提示    You do not need to assign a Connected Body to your joint for it to work.
    即使没有设置与关节相链的肢体,关节也可以工作
    Character Joints require your object to have a Rigidbody attached.
    角色关节组建需要物体有附着的刚体组件 标签: 角色关节【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏1 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-2-21 04:06 , Processed in 0.088756 second(s), 29 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部