決定新增新的ML物理性角色--狼
狼的設(shè)計關(guān)鍵
1.四足
2.可以縮放並且縮放是觀察項 (1-5倍)
3.腳和身體使用不同的Physic Material
狼的基礎(chǔ)數(shù)據(jù) (縮放比例: 1)
四足站立高度: 約90cm
質(zhì)量與JointDrive
部位 | Mass | Spring | Damper | Force | Note |
Root | 10.9375 | x | x | x | |
Thigh (BLeg1) | 6.5625 | 50000 | 1000 | 30000 | |
Calf (BLeg2) | 6.5625 | 50000 | 1000 | 20000 | |
Foot (BLegAnkle) | 5 | 50000 | 1000 | 10000 | |
Spine | 12.5 | 50000 | 1000 | 90000 | |
UpperArm (FLeg1) | 4.375 | 50000 | 1000 | 25000 | |
Forearm (FLeg2) | 4.375 | 50000 | 1000 | 15000 | |
Hand (FLegAnkle) | 3 | 50000 | 1000 | 7500 | |
Tail | 1 | 50000 | 1000 | 5000 |
PhysicMaterial
Body
Dynamic Friction | 0.6 |
Static Friction | 0.8 |
Bounciness | 0.1 |
Friction Combine | Average |
Bounce Combine | Average |
Foot
Dynamic Friction | 0.7 |
Static Friction | 0.9 |
Bounciness | 0 |
Friction Combine | Maximum |
Bounce Combine | Minimum |
Joint Remap
1.Thigh 和Upper Arm 無法主動內(nèi)折 (左腳無法往右邊伸展,反之亦然)
Joint活動範(fàn)圍
部位 | Low X | High X | Y | Z | Note |
Thigh | -85 | 85 | 60 | 5 | |
Calf | 0 | 140 | x | x | |
Foot | -130 | 0 | x | x | |
Spine | -45 | 45 | 45 | 45 | |
UpperArm | -85 | 85 | 45 | 5 | |
Forearm | -140 | 0 | x | x | |
Hand | -60 | 20 | x | x | |
Tail | -60 | 60 | 60 | x |
Joint似乎有萬向角特性,在調(diào)整Thigh和UpperArm時
發(fā)現(xiàn)儘管Z axis設(shè)為Locked,但當(dāng)X旋轉(zhuǎn)接近90度時,Z axis就會可以旋轉(zhuǎn),造成一種關(guān)節(jié)鬆脫的現(xiàn)象
因此才將Thigh和UpperArm的z設(shè)為5,在有數(shù)值的情況就能保證Z axis不會鬆脫