Car.lh 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. {
  2. "version":"LAYAHIERARCHY:02",
  3. "data":{
  4. "type":"Sprite3D",
  5. "instanceID":103,
  6. "props":{
  7. "name":"Car",
  8. "active":true,
  9. "isStatic":false,
  10. "layer":0,
  11. "position":[
  12. 0,
  13. 0,
  14. 0
  15. ],
  16. "rotation":[
  17. 0,
  18. 0,
  19. 0,
  20. -1
  21. ],
  22. "scale":[
  23. 1,
  24. 1,
  25. 1
  26. ]
  27. },
  28. "components":[],
  29. "child":[
  30. {
  31. "type":"Sprite3D",
  32. "instanceID":104,
  33. "props":{
  34. "name":"bus",
  35. "active":true,
  36. "isStatic":false,
  37. "layer":0,
  38. "position":[
  39. 0,
  40. 0,
  41. 0
  42. ],
  43. "rotation":[
  44. 0,
  45. 1,
  46. 0,
  47. 0
  48. ],
  49. "scale":[
  50. 0.01,
  51. 0.01,
  52. 0.01
  53. ]
  54. },
  55. "components":[
  56. {
  57. "type":"Animator",
  58. "layers":[
  59. {
  60. "name":"Base Layer",
  61. "weight":0,
  62. "blendingMode":0,
  63. "states":[
  64. {
  65. "name":"Idle",
  66. "clipPath":"Assets/LatestRes/Misc/Anim/Idle-Idle.lani"
  67. },
  68. {
  69. "name":"Death",
  70. "clipPath":"Assets/LatestRes/Misc/Anim/Death-Death.lani"
  71. }
  72. ]
  73. }
  74. ],
  75. "cullingMode":0,
  76. "playOnWake":true
  77. }
  78. ],
  79. "child":[
  80. {
  81. "type":"MeshSprite3D",
  82. "instanceID":105,
  83. "props":{
  84. "name":"Car_Body",
  85. "active":true,
  86. "isStatic":false,
  87. "layer":0,
  88. "position":[
  89. -48.68628,
  90. 1.463025E-05,
  91. 89.7998
  92. ],
  93. "rotation":[
  94. 0,
  95. 0,
  96. 0,
  97. -1
  98. ],
  99. "scale":[
  100. 1,
  101. 1,
  102. 1
  103. ],
  104. "meshPath":"Assets/LatestRes/Misc/Model/bus-Car_Body.lm",
  105. "enableRender":true,
  106. "materials":[
  107. {
  108. "path":"Assets/LatestRes/Misc/Material/T_Vehicles_Bus_Col.lmat"
  109. }
  110. ]
  111. },
  112. "components":[
  113. {
  114. "type":"PhysicsCollider",
  115. "restitution":0,
  116. "friction":0.5,
  117. "rollingFriction":0,
  118. "shapes":[
  119. {
  120. "type":"MeshColliderShape",
  121. "mesh":"Assets/LatestRes/Misc/Model/bus-Car_Body.lm"
  122. }
  123. ],
  124. "isTrigger":false
  125. }
  126. ],
  127. "child":[]
  128. }
  129. ]
  130. }
  131. ]
  132. }
  133. }