mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
implemented rubedoll direction flip and added meshIndex (z) swapping capability. #151
This commit is contained in:
parent
0da744f5fd
commit
a5f45ffef6
12 changed files with 483 additions and 389 deletions
|
|
@ -482,18 +482,18 @@
|
|||
],
|
||||
"vertices" :
|
||||
{
|
||||
"x" : [ -0.002679032273590565 ],
|
||||
"y" : [ 0.004700660705566406 ]
|
||||
"x" : [ -0.01561669446527958 ],
|
||||
"y" : [ 0.004700659774243832 ]
|
||||
}
|
||||
}
|
||||
],
|
||||
"id" : 8,
|
||||
"linearVelocity" : 0,
|
||||
"massData-I" : 0.0009180362685583532,
|
||||
"massData-I" : 0.0009264730615541339,
|
||||
"massData-center" :
|
||||
{
|
||||
"x" : -0.002679032273590565,
|
||||
"y" : 0.004700660705566406
|
||||
"x" : -0.01561669446527958,
|
||||
"y" : 0.004700659774243832
|
||||
},
|
||||
"massData-mass" : 0.03564291819930077,
|
||||
"name" : "head",
|
||||
|
|
@ -516,8 +516,8 @@
|
|||
"density" : 1,
|
||||
"filter-groupIndex" : -55,
|
||||
"friction" : 0.2,
|
||||
"id" : 13,
|
||||
"name" : "fixture0",
|
||||
"id" : 11,
|
||||
"name" : "fixture2",
|
||||
"shapes" :
|
||||
[
|
||||
|
||||
|
|
@ -529,34 +529,30 @@
|
|||
{
|
||||
"x" :
|
||||
[
|
||||
0.1402979493141174,
|
||||
0.1375417709350586,
|
||||
0.001378186047077179,
|
||||
-0.1402979493141174,
|
||||
-0.1402979493141174,
|
||||
0.001192390918731689
|
||||
-0.1156365871429443,
|
||||
0.1570904254913330,
|
||||
0.1570904254913330,
|
||||
-0.1156365871429443
|
||||
],
|
||||
"y" :
|
||||
[
|
||||
-0.3207050263881683,
|
||||
0.4018019437789917,
|
||||
0.4018019437789917,
|
||||
0.3136067390441895,
|
||||
-0.3432337343692780,
|
||||
-0.3689299821853638
|
||||
-0.3584164977073669,
|
||||
-0.3584164977073669,
|
||||
0.4034895300865173,
|
||||
0.4034895300865173
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"id" : 9,
|
||||
"linearVelocity" : 0,
|
||||
"massData-I" : 0.01047351956367493,
|
||||
"massData-I" : 0.01153474207967520,
|
||||
"massData-center" :
|
||||
{
|
||||
"x" : 0.001456731930375099,
|
||||
"y" : 0.01425695233047009
|
||||
"x" : 0.02072691917419434,
|
||||
"y" : 0.02253651618957520
|
||||
},
|
||||
"massData-mass" : 0.2038488984107971,
|
||||
"massData-mass" : 0.2077923566102982,
|
||||
"name" : "chest",
|
||||
"position" :
|
||||
{
|
||||
|
|
@ -701,7 +697,7 @@
|
|||
"name" : "joint1",
|
||||
"referenceAngle" : 0,
|
||||
"type" : "revolute",
|
||||
"upperLimit" : 0.01745329238474369
|
||||
"upperLimit" : 0
|
||||
},
|
||||
|
||||
{
|
||||
|
|
@ -747,13 +743,13 @@
|
|||
"enableLimit" : true,
|
||||
"enableMotor" : false,
|
||||
"id" : 5,
|
||||
"lowerLimit" : -0.6981316804885864,
|
||||
"lowerLimit" : -0.7853981852531433,
|
||||
"maxMotorTorque" : 1,
|
||||
"motorSpeed" : 0,
|
||||
"name" : "joint6",
|
||||
"referenceAngle" : 0,
|
||||
"type" : "revolute",
|
||||
"upperLimit" : 1.919862151145935
|
||||
"upperLimit" : 1.570796370506287
|
||||
},
|
||||
|
||||
{
|
||||
|
|
@ -773,13 +769,13 @@
|
|||
"enableLimit" : true,
|
||||
"enableMotor" : false,
|
||||
"id" : 6,
|
||||
"lowerLimit" : -0.6981316804885864,
|
||||
"lowerLimit" : -0.7853981852531433,
|
||||
"maxMotorTorque" : 1,
|
||||
"motorSpeed" : 0,
|
||||
"name" : "joint5",
|
||||
"referenceAngle" : 0,
|
||||
"type" : "revolute",
|
||||
"upperLimit" : 1.919862151145935
|
||||
"upperLimit" : 1.570796370506287
|
||||
},
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue