avatar_constraint.llsd 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. <? llsd/notation ?>
  2. {
  3. 'mChest':
  4. {
  5. 'cone_angle':r3.6,
  6. 'forward_axis':
  7. [r0,r0,r1],
  8. 'max_twist':r3.6,
  9. 'min_twist':r-3.6,
  10. 'type':'TWIST_LIMITED_CONE'
  11. },
  12. 'mCollarLeft':
  13. {
  14. 'cone_angle':r9,
  15. 'forward_axis':
  16. [r-0.021,r0.085,r0.165],
  17. 'max_twist':r18,
  18. 'min_twist':r-18,
  19. 'type':'TWIST_LIMITED_CONE'
  20. },
  21. 'mCollarRight':
  22. {
  23. 'cone_angle':r9,
  24. 'forward_axis':
  25. [r-0.021,r-0.085,r0.165],
  26. 'max_twist':r18,
  27. 'min_twist':r-18,
  28. 'type':'TWIST_LIMITED_CONE'
  29. },
  30. 'mElbowLeft':
  31. {
  32. 'forward_axis':
  33. [r0,r1,r0],
  34. 'max_bend':r0,
  35. 'max_twist':r135,
  36. 'min_bend':r-157.5,
  37. 'min_twist':r-45,
  38. 'pivot_axis':
  39. [r0,r0,r1],
  40. 'type':'ELBOW'
  41. },
  42. 'mElbowRight':
  43. {
  44. 'forward_axis':
  45. [r-0,r-1,r-0],
  46. 'max_bend':r0,
  47. 'max_twist':r135,
  48. 'min_bend':r-157.5,
  49. 'min_twist':r-45,
  50. 'pivot_axis':
  51. [r-0,r-0,r-1],
  52. 'type':'ELBOW'
  53. },
  54. 'mHandIndex1Left':
  55. {
  56. 'forward_axis':
  57. [r0.038,r0.097,r0.015],
  58. 'max_pitch':r80,
  59. 'max_yaw':r9,
  60. 'min_pitch':r0,
  61. 'min_yaw':r-9,
  62. 'type':'DOUBLE_LIMITED_HINGE',
  63. 'up_axis':
  64. [r0,r0,r1]
  65. },
  66. 'mHandIndex1Right':
  67. {
  68. 'forward_axis':
  69. [r0.038,r-0.097,r0.015],
  70. 'max_pitch':r80,
  71. 'max_yaw':r9,
  72. 'min_pitch':r0,
  73. 'min_yaw':r-9,
  74. 'type':'DOUBLE_LIMITED_HINGE',
  75. 'up_axis':
  76. [r0,r0,r1]
  77. },
  78. 'mHandIndex2Left':
  79. {
  80. 'forward_axis':
  81. [r0.017,r0.036,r-0.006],
  82. 'max_bend':r90,
  83. 'min_bend':r0,
  84. 'pivot_axis':
  85. [r-1,r-0,r-0],
  86. 'type':'KNEE'
  87. },
  88. 'mHandIndex2Right':
  89. {
  90. 'forward_axis':
  91. [r0.017,r-0.036,r-0.006],
  92. 'max_bend':r90,
  93. 'min_bend':r0,
  94. 'pivot_axis':
  95. [r1,r0,r0],
  96. 'type':'KNEE'
  97. },
  98. 'mHandIndex3Left':
  99. {
  100. 'forward_axis':
  101. [r0.014,r0.032,r-0.006],
  102. 'max_bend':r72,
  103. 'min_bend':r0,
  104. 'pivot_axis':
  105. [r-1,r-0,r-0],
  106. 'type':'KNEE'
  107. },
  108. 'mHandIndex3Right':
  109. {
  110. 'forward_axis':
  111. [r0.014,r-0.032,r-0.006],
  112. 'max_bend':r72,
  113. 'min_bend':r0,
  114. 'pivot_axis':
  115. [r1,r0,r0],
  116. 'type':'KNEE'
  117. },
  118. 'mHandMiddle1Left':
  119. {
  120. 'forward_axis':
  121. [r0.013,r0.101,r0.015],
  122. 'max_pitch':r54,
  123. 'max_yaw':r9,
  124. 'min_pitch':r0,
  125. 'min_yaw':r-9,
  126. 'type':'DOUBLE_LIMITED_HINGE',
  127. 'up_axis':
  128. [r0,r0,r1]
  129. },
  130. 'mHandMiddle1Right':
  131. {
  132. 'forward_axis':
  133. [r0.013,r-0.101,r0.015],
  134. 'max_pitch':r54,
  135. 'max_yaw':r9,
  136. 'min_pitch':r0,
  137. 'min_yaw':r-9,
  138. 'type':'DOUBLE_LIMITED_HINGE',
  139. 'up_axis':
  140. [r0,r0,r1]
  141. },
  142. 'mHandMiddle2Left':
  143. {
  144. 'forward_axis':
  145. [r-0.001,r0.04,r-0.006],
  146. 'max_bend':r90,
  147. 'min_bend':r0,
  148. 'pivot_axis':
  149. [r-1,r-0,r-0],
  150. 'type':'KNEE'
  151. },
  152. 'mHandMiddle2Right':
  153. {
  154. 'forward_axis':
  155. [r-0.001,r-0.04,r-0.006],
  156. 'max_bend':r90,
  157. 'min_bend':r0,
  158. 'pivot_axis':
  159. [r1,r0,r0],
  160. 'type':'KNEE'
  161. },
  162. 'mHandMiddle3Left':
  163. {
  164. 'forward_axis':
  165. [r-0.001,r0.049,r-0.008],
  166. 'max_bend':r72,
  167. 'min_bend':r0,
  168. 'pivot_axis':
  169. [r-1,r-0,r-0],
  170. 'type':'KNEE'
  171. },
  172. 'mHandMiddle3Right':
  173. {
  174. 'forward_axis':
  175. [r-0.001,r-0.049,r-0.008],
  176. 'max_bend':r72,
  177. 'min_bend':r0,
  178. 'pivot_axis':
  179. [r1,r0,r0],
  180. 'type':'KNEE'
  181. },
  182. 'mHandPinky1Left':
  183. {
  184. 'forward_axis':
  185. [r-0.031,r0.095,r0.003],
  186. 'max_pitch':r80,
  187. 'max_yaw':r9,
  188. 'min_pitch':r0,
  189. 'min_yaw':r-9,
  190. 'type':'DOUBLE_LIMITED_HINGE',
  191. 'up_axis':
  192. [r0,r0,r1]
  193. },
  194. 'mHandPinky1Right':
  195. {
  196. 'forward_axis':
  197. [r-0.031,r-0.095,r0.003],
  198. 'max_pitch':r80,
  199. 'max_yaw':r9,
  200. 'min_pitch':r0,
  201. 'min_yaw':r-9,
  202. 'type':'DOUBLE_LIMITED_HINGE',
  203. 'up_axis':
  204. [r0,r0,r1]
  205. },
  206. 'mHandPinky2Left':
  207. {
  208. 'forward_axis':
  209. [r-0.024,r0.025,r-0.006],
  210. 'max_bend':r90,
  211. 'min_bend':r0,
  212. 'pivot_axis':
  213. [r-1,r-0,r-0],
  214. 'type':'KNEE'
  215. },
  216. 'mHandPinky2Right':
  217. {
  218. 'forward_axis':
  219. [r-0.024,r-0.025,r-0.006],
  220. 'max_bend':r90,
  221. 'min_bend':r0,
  222. 'pivot_axis':
  223. [r1,r0,r0],
  224. 'type':'KNEE'
  225. },
  226. 'mHandPinky3Left':
  227. {
  228. 'forward_axis':
  229. [r-0.015,r0.018,r-0.004],
  230. 'max_bend':r72,
  231. 'min_bend':r0,
  232. 'pivot_axis':
  233. [r-1,r-0,r-0],
  234. 'type':'KNEE'
  235. },
  236. 'mHandPinky3Right':
  237. {
  238. 'forward_axis':
  239. [r-0.015,r-0.018,r-0.004],
  240. 'max_bend':r72,
  241. 'min_bend':r0,
  242. 'pivot_axis':
  243. [r1,r0,r0],
  244. 'type':'KNEE'
  245. },
  246. 'mHandRing1Left':
  247. {
  248. 'forward_axis':
  249. [r-0.01,r0.099,r0.009],
  250. 'max_pitch':r80,
  251. 'max_yaw':r9,
  252. 'min_pitch':r0,
  253. 'min_yaw':r-9,
  254. 'type':'DOUBLE_LIMITED_HINGE',
  255. 'up_axis':
  256. [r0,r0,r1]
  257. },
  258. 'mHandRing1Right':
  259. {
  260. 'forward_axis':
  261. [r-0.01,r-0.099,r0.009],
  262. 'max_pitch':r80,
  263. 'max_yaw':r9,
  264. 'min_pitch':r0,
  265. 'min_yaw':r-9,
  266. 'type':'DOUBLE_LIMITED_HINGE',
  267. 'up_axis':
  268. [r0,r0,r1]
  269. },
  270. 'mHandRing2Left':
  271. {
  272. 'forward_axis':
  273. [r-0.013,r0.038,r-0.008],
  274. 'max_bend':r90,
  275. 'min_bend':r0,
  276. 'pivot_axis':
  277. [r-1,r-0,r-0],
  278. 'type':'KNEE'
  279. },
  280. 'mHandRing2Right':
  281. {
  282. 'forward_axis':
  283. [r-0.013,r-0.038,r-0.008],
  284. 'max_bend':r90,
  285. 'min_bend':r0,
  286. 'pivot_axis':
  287. [r1,r0,r0],
  288. 'type':'KNEE'
  289. },
  290. 'mHandRing3Left':
  291. {
  292. 'forward_axis':
  293. [r-0.013,r0.04,r-0.009],
  294. 'max_bend':r72,
  295. 'min_bend':r0,
  296. 'pivot_axis':
  297. [r-1,r-0,r-0],
  298. 'type':'KNEE'
  299. },
  300. 'mHandRing3Right':
  301. {
  302. 'forward_axis':
  303. [r-0.013,r-0.04,r-0.009],
  304. 'max_bend':r72,
  305. 'min_bend':r0,
  306. 'pivot_axis':
  307. [r1,r0,r0],
  308. 'type':'KNEE'
  309. },
  310. 'mHandThumb1Left':
  311. {
  312. 'forward_axis':
  313. [r0.031,r0.026,r0.004],
  314. 'max_pitch':r45,
  315. 'max_yaw':r9,
  316. 'min_pitch':r-5.72958,
  317. 'min_yaw':r-9,
  318. 'type':'DOUBLE_LIMITED_HINGE',
  319. 'up_axis':
  320. [r1,r-1,r1]
  321. },
  322. 'mHandThumb1Right':
  323. {
  324. 'forward_axis':
  325. [r0.031,r-0.026,r0.004],
  326. 'max_pitch':r45,
  327. 'max_yaw':r9,
  328. 'min_pitch':r-5.72958,
  329. 'min_yaw':r-9,
  330. 'type':'DOUBLE_LIMITED_HINGE',
  331. 'up_axis':
  332. [r1,r1,r1]
  333. },
  334. 'mHandThumb2Left':
  335. {
  336. 'forward_axis':
  337. [r0.028,r0.032,r-0.001],
  338. 'max_bend':r54,
  339. 'min_bend':r0,
  340. 'pivot_axis':
  341. [r-1,r0,r1],
  342. 'type':'KNEE'
  343. },
  344. 'mHandThumb2Right':
  345. {
  346. 'forward_axis':
  347. [r0.028,r-0.032,r-0.001],
  348. 'max_bend':r54,
  349. 'min_bend':r0,
  350. 'pivot_axis':
  351. [r1,r0,r0],
  352. 'type':'KNEE'
  353. },
  354. 'mHandThumb3Left':
  355. {
  356. 'forward_axis':
  357. [r0.023,r0.031,r-0.001],
  358. 'max_bend':r72,
  359. 'min_bend':r0,
  360. 'pivot_axis':
  361. [r-1,r0,r1],
  362. 'type':'KNEE'
  363. },
  364. 'mHandThumb3Right':
  365. {
  366. 'forward_axis':
  367. [r0.023,r-0.031,r-0.001],
  368. 'max_bend':r72,
  369. 'min_bend':r0,
  370. 'pivot_axis':
  371. [r1,r0,r0],
  372. 'type':'KNEE'
  373. },
  374. 'mHead':
  375. {
  376. 'cone_angle':r45,
  377. 'forward_axis':
  378. [r0,r0,r1],
  379. 'max_twist':r45,
  380. 'min_twist':r-45,
  381. 'type':'TWIST_LIMITED_CONE'
  382. },
  383. 'mNeck':
  384. {
  385. 'cone_angle':r45,
  386. 'forward_axis':
  387. [r0,r0,r1],
  388. 'max_twist':r45,
  389. 'min_twist':r-45,
  390. 'type':'TWIST_LIMITED_CONE'
  391. },
  392. 'mShoulderLeft':
  393. {
  394. 'cone_angle':r90,
  395. 'forward_axis':
  396. [r0,r1,r0],
  397. 'max_twist':r102.857,
  398. 'min_twist':r-72,
  399. 'type':'TWIST_LIMITED_CONE'
  400. },
  401. 'mShoulderRight':
  402. {
  403. 'cone_angle':r90,
  404. 'forward_axis':
  405. [r-0,r-1,r-0],
  406. 'max_twist':r102.857,
  407. 'min_twist':r-72,
  408. 'type':'TWIST_LIMITED_CONE'
  409. },
  410. 'mTorso':
  411. {
  412. 'cone_angle':r0.9,
  413. 'forward_axis':
  414. [r0,r0,r1],
  415. 'max_twist':r0.9,
  416. 'min_twist':r-0.9,
  417. 'type':'TWIST_LIMITED_CONE'
  418. },
  419. 'mWristLeft':
  420. {
  421. 'cone_angle':r45,
  422. 'forward_axis':
  423. [r0,r1,r0],
  424. 'max_twist':r2.86479,
  425. 'min_twist':r-2.86479,
  426. 'type':'TWIST_LIMITED_CONE'
  427. },
  428. 'mWristRight':
  429. {
  430. 'cone_angle':r45,
  431. 'forward_axis':
  432. [r-0,r-1,r-0],
  433. 'max_twist':r2.86479,
  434. 'min_twist':r-2.86479,
  435. 'type':'TWIST_LIMITED_CONE'
  436. }
  437. }