Scene.lua 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  1. -- Generated by: C:\src\anki\build_rel_vk\Binaries\GltfImporter.exe PhysicsPlayground.gltf C:/src/anki/Samples/PhysicsPlayground/Assets/ -rpath Assets -texrpath Assets -v -light-scale 0.00116 -import-textures 0
  2. local scene = getSceneGraph()
  3. local events = getEventManager()
  4. node = scene:newSceneNode("Icosphere.001")
  5. node:newMeshComponent():setMeshFilename("Assets/Icosphere_834d64c142beaa13.ankimesh")
  6. node:newMaterialComponent():setMaterialFilename("Assets/walls_9619132fa258d22d.ankimtl"):setSubmeshIndex(0)
  7. trf = Transform.new()
  8. trf:setOrigin(Vec3.new(25.411236, 3.345554, 28.742823))
  9. rot = Mat3.new()
  10. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  11. trf:setRotation(rot)
  12. trf:setScale(Vec3.new(1.912920, 1.912920, 1.912920))
  13. node:setLocalTransform(trf)
  14. comp = node:newBodyComponent()
  15. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  16. node = scene:newSceneNode("Icosphere")
  17. node:newMeshComponent():setMeshFilename("Assets/Icosphere_834d64c142beaa13.ankimesh")
  18. node:newMaterialComponent():setMaterialFilename("Assets/walls_9619132fa258d22d.ankimtl"):setSubmeshIndex(0)
  19. trf = Transform.new()
  20. trf:setOrigin(Vec3.new(25.411236, 3.316930, 22.637743))
  21. rot = Mat3.new()
  22. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  23. trf:setRotation(rot)
  24. trf:setScale(Vec3.new(1.264235, 1.264235, 1.264235))
  25. node:setLocalTransform(trf)
  26. comp = node:newBodyComponent()
  27. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  28. node = scene:newSceneNode("Cube.019")
  29. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  30. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  31. trf = Transform.new()
  32. trf:setOrigin(Vec3.new(30.249128, 0.936152, -6.000000))
  33. rot = Mat3.new()
  34. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  35. trf:setRotation(rot)
  36. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  37. node:setLocalTransform(trf)
  38. comp = node:newBodyComponent()
  39. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  40. node = scene:newSceneNode("Cube.018")
  41. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  42. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  43. trf = Transform.new()
  44. trf:setOrigin(Vec3.new(29.830065, 0.517090, -6.000000))
  45. rot = Mat3.new()
  46. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  47. trf:setRotation(rot)
  48. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  49. node:setLocalTransform(trf)
  50. comp = node:newBodyComponent()
  51. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  52. node = scene:newSceneNode("Cube.017")
  53. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  54. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  55. trf = Transform.new()
  56. trf:setOrigin(Vec3.new(29.411005, 0.098028, -6.000000))
  57. rot = Mat3.new()
  58. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  59. trf:setRotation(rot)
  60. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  61. node:setLocalTransform(trf)
  62. comp = node:newBodyComponent()
  63. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  64. node = scene:newSceneNode("Cube.016")
  65. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  66. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  67. trf = Transform.new()
  68. trf:setOrigin(Vec3.new(30.668188, 1.355214, -6.000000))
  69. rot = Mat3.new()
  70. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  71. trf:setRotation(rot)
  72. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  73. node:setLocalTransform(trf)
  74. comp = node:newBodyComponent()
  75. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  76. node = scene:newSceneNode("Cube.015")
  77. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  78. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  79. trf = Transform.new()
  80. trf:setOrigin(Vec3.new(31.087252, 1.774276, -6.000000))
  81. rot = Mat3.new()
  82. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  83. trf:setRotation(rot)
  84. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  85. node:setLocalTransform(trf)
  86. comp = node:newBodyComponent()
  87. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  88. node = scene:newSceneNode("Cube.014")
  89. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  90. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  91. trf = Transform.new()
  92. trf:setOrigin(Vec3.new(31.506311, 2.193337, -6.000000))
  93. rot = Mat3.new()
  94. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  95. trf:setRotation(rot)
  96. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  97. node:setLocalTransform(trf)
  98. comp = node:newBodyComponent()
  99. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  100. node = scene:newSceneNode("Cube.013")
  101. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  102. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  103. trf = Transform.new()
  104. trf:setOrigin(Vec3.new(39.798492, 6.376611, 0.000000))
  105. rot = Mat3.new()
  106. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  107. trf:setRotation(rot)
  108. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  109. node:setLocalTransform(trf)
  110. comp = node:newBodyComponent()
  111. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  112. node = scene:newSceneNode("Cube.012")
  113. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  114. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  115. trf = Transform.new()
  116. trf:setOrigin(Vec3.new(39.798492, 6.376611, -6.000000))
  117. rot = Mat3.new()
  118. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  119. trf:setRotation(rot)
  120. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  121. node:setLocalTransform(trf)
  122. comp = node:newBodyComponent()
  123. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  124. node = scene:newSceneNode("Cube.011")
  125. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  126. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  127. trf = Transform.new()
  128. trf:setOrigin(Vec3.new(39.798492, 6.376611, 6.000000))
  129. rot = Mat3.new()
  130. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  131. trf:setRotation(rot)
  132. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  133. node:setLocalTransform(trf)
  134. comp = node:newBodyComponent()
  135. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  136. node = scene:newSceneNode("Cube.010")
  137. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  138. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  139. trf = Transform.new()
  140. trf:setOrigin(Vec3.new(39.798492, 6.376611, 12.000000))
  141. rot = Mat3.new()
  142. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  143. trf:setRotation(rot)
  144. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  145. node:setLocalTransform(trf)
  146. comp = node:newBodyComponent()
  147. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  148. node = scene:newSceneNode("Cube.009")
  149. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  150. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  151. trf = Transform.new()
  152. trf:setOrigin(Vec3.new(42.271385, 2.886189, 0.000000))
  153. rot = Mat3.new()
  154. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  155. trf:setRotation(rot)
  156. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  157. node:setLocalTransform(trf)
  158. comp = node:newBodyComponent()
  159. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  160. node = scene:newSceneNode("Cube.008")
  161. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  162. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  163. trf = Transform.new()
  164. trf:setOrigin(Vec3.new(42.271385, 2.886189, -6.000000))
  165. rot = Mat3.new()
  166. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  167. trf:setRotation(rot)
  168. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  169. node:setLocalTransform(trf)
  170. comp = node:newBodyComponent()
  171. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  172. node = scene:newSceneNode("Cube.007")
  173. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  174. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  175. trf = Transform.new()
  176. trf:setOrigin(Vec3.new(42.271385, 2.886189, 6.000000))
  177. rot = Mat3.new()
  178. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  179. trf:setRotation(rot)
  180. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  181. node:setLocalTransform(trf)
  182. comp = node:newBodyComponent()
  183. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  184. node = scene:newSceneNode("Cube.006")
  185. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  186. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  187. trf = Transform.new()
  188. trf:setOrigin(Vec3.new(42.271385, 2.886189, 12.000000))
  189. rot = Mat3.new()
  190. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  191. trf:setRotation(rot)
  192. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  193. node:setLocalTransform(trf)
  194. comp = node:newBodyComponent()
  195. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  196. node = scene:newSceneNode("Cube.005")
  197. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  198. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  199. trf = Transform.new()
  200. trf:setOrigin(Vec3.new(37.271385, 2.886189, 12.000000))
  201. rot = Mat3.new()
  202. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  203. trf:setRotation(rot)
  204. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  205. node:setLocalTransform(trf)
  206. comp = node:newBodyComponent()
  207. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  208. node = scene:newSceneNode("Cube.004")
  209. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  210. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  211. trf = Transform.new()
  212. trf:setOrigin(Vec3.new(37.271385, 2.886189, 6.000000))
  213. rot = Mat3.new()
  214. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  215. trf:setRotation(rot)
  216. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  217. node:setLocalTransform(trf)
  218. comp = node:newBodyComponent()
  219. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  220. node = scene:newSceneNode("Cube.003")
  221. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  222. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  223. trf = Transform.new()
  224. trf:setOrigin(Vec3.new(37.271385, 2.886189, -6.000000))
  225. rot = Mat3.new()
  226. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  227. trf:setRotation(rot)
  228. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  229. node:setLocalTransform(trf)
  230. comp = node:newBodyComponent()
  231. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  232. node = scene:newSceneNode("Cube.002")
  233. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  234. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  235. trf = Transform.new()
  236. trf:setOrigin(Vec3.new(37.271385, 2.886189, 0.000000))
  237. rot = Mat3.new()
  238. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  239. trf:setRotation(rot)
  240. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  241. node:setLocalTransform(trf)
  242. comp = node:newBodyComponent()
  243. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  244. node = scene:newSceneNode("Suzanne")
  245. node:newMeshComponent():setMeshFilename("Assets/Suzanne_e3526e1428c0763c.ankimesh")
  246. node:newMaterialComponent():setMaterialFilename("Assets/dynamic_f238b379a41079ff.ankimtl"):setSubmeshIndex(0)
  247. trf = Transform.new()
  248. trf:setOrigin(Vec3.new(86.774399, -21.439922, 0.000000))
  249. rot = Mat3.new()
  250. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  251. trf:setRotation(rot)
  252. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  253. node:setLocalTransform(trf)
  254. comp = node:newBodyComponent()
  255. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  256. node = scene:newSceneNode("Cube")
  257. node:newMeshComponent():setMeshFilename("Assets/floor_71cbd2644e53ab8c.ankimesh")
  258. node:newMaterialComponent():setMaterialFilename("Assets/walls_9619132fa258d22d.ankimtl"):setSubmeshIndex(0)
  259. trf = Transform.new()
  260. trf:setOrigin(Vec3.new(0.000000, -5.068616, 0.000000))
  261. rot = Mat3.new()
  262. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  263. trf:setRotation(rot)
  264. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  265. node:setLocalTransform(trf)
  266. comp = node:newBodyComponent()
  267. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  268. node = scene:newSceneNode("Lamp")
  269. lcomp = node:newLightComponent()
  270. lcomp:setLightComponentType(LightComponentType.kDirectional)
  271. lcomp:setDiffuseColor(Vec4.new(39.613998, 39.613998, 39.613998, 1))
  272. lcomp:setShadowEnabled(1)
  273. trf = Transform.new()
  274. trf:setOrigin(Vec3.new(4.076245, 74.444725, -1.005454))
  275. rot = Mat3.new()
  276. rot:setAll(0.649201, -0.658184, -0.381226, 0.506372, -0.000000, 0.862315, -0.567562, -0.752858, 0.333285)
  277. trf:setRotation(rot)
  278. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  279. node:setLocalTransform(trf)
  280. node = scene:newSceneNode("Camera")
  281. scene:setActiveCameraNode(node)
  282. comp = node:newCameraComponent()
  283. comp:setPerspective(0.100000, 500.000000, getRenderer():getAspectRatio() * 0.750416, 0.750416)
  284. trf = Transform.new()
  285. trf:setOrigin(Vec3.new(7.481132, 7.870111, 6.507640))
  286. rot = Mat3.new()
  287. rot:setAll(0.685921, -0.324013, 0.651558, -0.000000, 0.895396, 0.445271, -0.727676, -0.305421, 0.614170)
  288. trf:setRotation(rot)
  289. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  290. node:setLocalTransform(trf)
  291. node = scene:newSceneNode("Cube.021")
  292. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  293. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  294. trf = Transform.new()
  295. trf:setOrigin(Vec3.new(39.798492, 6.376611, -12.000000))
  296. rot = Mat3.new()
  297. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  298. trf:setRotation(rot)
  299. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  300. node:setLocalTransform(trf)
  301. comp = node:newBodyComponent()
  302. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  303. node = scene:newSceneNode("Cube.022")
  304. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  305. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  306. trf = Transform.new()
  307. trf:setOrigin(Vec3.new(42.271385, 2.886189, -12.000000))
  308. rot = Mat3.new()
  309. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  310. trf:setRotation(rot)
  311. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  312. node:setLocalTransform(trf)
  313. comp = node:newBodyComponent()
  314. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  315. node = scene:newSceneNode("Cube.023")
  316. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  317. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  318. trf = Transform.new()
  319. trf:setOrigin(Vec3.new(37.271385, 2.886189, -12.000000))
  320. rot = Mat3.new()
  321. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  322. trf:setRotation(rot)
  323. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  324. node:setLocalTransform(trf)
  325. comp = node:newBodyComponent()
  326. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  327. node = scene:newSceneNode("Cube.024")
  328. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  329. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  330. trf = Transform.new()
  331. trf:setOrigin(Vec3.new(39.798492, 6.376611, -18.000000))
  332. rot = Mat3.new()
  333. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  334. trf:setRotation(rot)
  335. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  336. node:setLocalTransform(trf)
  337. comp = node:newBodyComponent()
  338. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  339. node = scene:newSceneNode("Cube.025")
  340. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  341. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  342. trf = Transform.new()
  343. trf:setOrigin(Vec3.new(42.271385, 2.886189, -18.000000))
  344. rot = Mat3.new()
  345. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  346. trf:setRotation(rot)
  347. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  348. node:setLocalTransform(trf)
  349. comp = node:newBodyComponent()
  350. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  351. node = scene:newSceneNode("Cube.026")
  352. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  353. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  354. trf = Transform.new()
  355. trf:setOrigin(Vec3.new(37.271385, 2.886189, -18.000000))
  356. rot = Mat3.new()
  357. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  358. trf:setRotation(rot)
  359. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  360. node:setLocalTransform(trf)
  361. comp = node:newBodyComponent()
  362. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  363. node = scene:newSceneNode("Cube.027")
  364. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  365. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  366. trf = Transform.new()
  367. trf:setOrigin(Vec3.new(34.761005, 2.886189, -21.498241))
  368. rot = Mat3.new()
  369. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000)
  370. trf:setRotation(rot)
  371. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  372. node:setLocalTransform(trf)
  373. comp = node:newBodyComponent()
  374. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  375. node = scene:newSceneNode("Cube.028")
  376. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  377. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  378. trf = Transform.new()
  379. trf:setOrigin(Vec3.new(44.761005, 2.886189, -21.498241))
  380. rot = Mat3.new()
  381. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000)
  382. trf:setRotation(rot)
  383. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  384. node:setLocalTransform(trf)
  385. comp = node:newBodyComponent()
  386. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  387. node = scene:newSceneNode("Cube.029")
  388. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  389. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  390. trf = Transform.new()
  391. trf:setOrigin(Vec3.new(47.271385, 2.886189, -25.000000))
  392. rot = Mat3.new()
  393. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  394. trf:setRotation(rot)
  395. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  396. node:setLocalTransform(trf)
  397. comp = node:newBodyComponent()
  398. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  399. node = scene:newSceneNode("Cube.030")
  400. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  401. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  402. trf = Transform.new()
  403. trf:setOrigin(Vec3.new(32.271385, 2.886189, -25.000000))
  404. rot = Mat3.new()
  405. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  406. trf:setRotation(rot)
  407. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  408. node:setLocalTransform(trf)
  409. comp = node:newBodyComponent()
  410. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  411. node = scene:newSceneNode("Cube.031")
  412. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  413. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  414. trf = Transform.new()
  415. trf:setOrigin(Vec3.new(32.271385, 2.886189, -31.000000))
  416. rot = Mat3.new()
  417. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  418. trf:setRotation(rot)
  419. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  420. node:setLocalTransform(trf)
  421. comp = node:newBodyComponent()
  422. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  423. node = scene:newSceneNode("Cube.032")
  424. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  425. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  426. trf = Transform.new()
  427. trf:setOrigin(Vec3.new(47.271385, 2.886189, -31.000000))
  428. rot = Mat3.new()
  429. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  430. trf:setRotation(rot)
  431. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  432. node:setLocalTransform(trf)
  433. comp = node:newBodyComponent()
  434. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  435. node = scene:newSceneNode("Cube.033")
  436. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  437. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  438. trf = Transform.new()
  439. trf:setOrigin(Vec3.new(44.761005, 2.886189, -34.498241))
  440. rot = Mat3.new()
  441. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000)
  442. trf:setRotation(rot)
  443. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  444. node:setLocalTransform(trf)
  445. comp = node:newBodyComponent()
  446. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  447. node = scene:newSceneNode("Cube.034")
  448. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  449. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  450. trf = Transform.new()
  451. trf:setOrigin(Vec3.new(38.761005, 2.886189, -34.498241))
  452. rot = Mat3.new()
  453. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000)
  454. trf:setRotation(rot)
  455. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  456. node:setLocalTransform(trf)
  457. comp = node:newBodyComponent()
  458. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  459. node = scene:newSceneNode("Cube.035")
  460. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  461. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  462. trf = Transform.new()
  463. trf:setOrigin(Vec3.new(34.761005, 2.886189, -34.498241))
  464. rot = Mat3.new()
  465. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000)
  466. trf:setRotation(rot)
  467. trf:setScale(Vec3.new(0.995130, 0.995130, 0.995130))
  468. node:setLocalTransform(trf)
  469. comp = node:newBodyComponent()
  470. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  471. node = scene:newSceneNode("Cube.036")
  472. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  473. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  474. trf = Transform.new()
  475. trf:setOrigin(Vec3.new(34.798492, 6.376611, -32.000000))
  476. rot = Mat3.new()
  477. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  478. trf:setRotation(rot)
  479. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  480. node:setLocalTransform(trf)
  481. comp = node:newBodyComponent()
  482. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  483. node = scene:newSceneNode("Cube.038")
  484. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  485. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  486. trf = Transform.new()
  487. trf:setOrigin(Vec3.new(34.798492, 6.376611, -24.000000))
  488. rot = Mat3.new()
  489. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  490. trf:setRotation(rot)
  491. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  492. node:setLocalTransform(trf)
  493. comp = node:newBodyComponent()
  494. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  495. node = scene:newSceneNode("Cube.039")
  496. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  497. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  498. trf = Transform.new()
  499. trf:setOrigin(Vec3.new(34.798492, 6.398044, -28.000000))
  500. rot = Mat3.new()
  501. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  502. trf:setRotation(rot)
  503. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  504. node:setLocalTransform(trf)
  505. comp = node:newBodyComponent()
  506. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  507. node = scene:newSceneNode("Cube.037")
  508. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  509. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  510. trf = Transform.new()
  511. trf:setOrigin(Vec3.new(44.798492, 6.376611, -32.000000))
  512. rot = Mat3.new()
  513. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  514. trf:setRotation(rot)
  515. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  516. node:setLocalTransform(trf)
  517. comp = node:newBodyComponent()
  518. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  519. node = scene:newSceneNode("Cube.040")
  520. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  521. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  522. trf = Transform.new()
  523. trf:setOrigin(Vec3.new(44.798492, 6.376611, -24.000000))
  524. rot = Mat3.new()
  525. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  526. trf:setRotation(rot)
  527. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  528. node:setLocalTransform(trf)
  529. comp = node:newBodyComponent()
  530. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  531. node = scene:newSceneNode("Cube.041")
  532. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  533. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  534. trf = Transform.new()
  535. trf:setOrigin(Vec3.new(44.798492, 6.398044, -28.000000))
  536. rot = Mat3.new()
  537. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  538. trf:setRotation(rot)
  539. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  540. node:setLocalTransform(trf)
  541. comp = node:newBodyComponent()
  542. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  543. node = scene:newSceneNode("Cube.042")
  544. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  545. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  546. trf = Transform.new()
  547. trf:setOrigin(Vec3.new(39.798492, 6.334259, -31.947594))
  548. rot = Mat3.new()
  549. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  550. trf:setRotation(rot)
  551. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  552. node:setLocalTransform(trf)
  553. comp = node:newBodyComponent()
  554. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  555. node = scene:newSceneNode("Cube.043")
  556. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  557. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  558. trf = Transform.new()
  559. trf:setOrigin(Vec3.new(39.798492, 6.334259, -23.947592))
  560. rot = Mat3.new()
  561. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  562. trf:setRotation(rot)
  563. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  564. node:setLocalTransform(trf)
  565. comp = node:newBodyComponent()
  566. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  567. node = scene:newSceneNode("Cube.044")
  568. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  569. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  570. trf = Transform.new()
  571. trf:setOrigin(Vec3.new(39.798492, 6.355691, -27.947592))
  572. rot = Mat3.new()
  573. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  574. trf:setRotation(rot)
  575. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  576. node:setLocalTransform(trf)
  577. comp = node:newBodyComponent()
  578. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  579. node = scene:newSceneNode("Cube.001")
  580. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  581. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  582. trf = Transform.new()
  583. trf:setOrigin(Vec3.new(46.798492, 7.787276, 12.000000))
  584. rot = Mat3.new()
  585. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  586. trf:setRotation(rot)
  587. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  588. node:setLocalTransform(trf)
  589. comp = node:newBodyComponent()
  590. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  591. node = scene:newSceneNode("Cube.046")
  592. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  593. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  594. trf = Transform.new()
  595. trf:setOrigin(Vec3.new(53.798492, 8.787276, 12.000000))
  596. rot = Mat3.new()
  597. rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  598. trf:setRotation(rot)
  599. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  600. node:setLocalTransform(trf)
  601. comp = node:newBodyComponent()
  602. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  603. node = scene:newSceneNode("Cube.049")
  604. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  605. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  606. trf = Transform.new()
  607. trf:setOrigin(Vec3.new(32.763500, 3.450523, -6.000000))
  608. rot = Mat3.new()
  609. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  610. trf:setRotation(rot)
  611. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  612. node:setLocalTransform(trf)
  613. comp = node:newBodyComponent()
  614. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  615. node = scene:newSceneNode("Cube.050")
  616. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  617. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  618. trf = Transform.new()
  619. trf:setOrigin(Vec3.new(32.344437, 3.031460, -6.000000))
  620. rot = Mat3.new()
  621. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  622. trf:setRotation(rot)
  623. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  624. node:setLocalTransform(trf)
  625. comp = node:newBodyComponent()
  626. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  627. node = scene:newSceneNode("Cube.051")
  628. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  629. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  630. trf = Transform.new()
  631. trf:setOrigin(Vec3.new(31.925379, 2.612399, -6.000000))
  632. rot = Mat3.new()
  633. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  634. trf:setRotation(rot)
  635. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  636. node:setLocalTransform(trf)
  637. comp = node:newBodyComponent()
  638. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  639. node = scene:newSceneNode("Cube.052")
  640. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  641. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  642. trf = Transform.new()
  643. trf:setOrigin(Vec3.new(33.182560, 3.869584, -6.000000))
  644. rot = Mat3.new()
  645. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  646. trf:setRotation(rot)
  647. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  648. node:setLocalTransform(trf)
  649. comp = node:newBodyComponent()
  650. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  651. node = scene:newSceneNode("Cube.053")
  652. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  653. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  654. trf = Transform.new()
  655. trf:setOrigin(Vec3.new(33.601627, 4.288646, -6.000000))
  656. rot = Mat3.new()
  657. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  658. trf:setRotation(rot)
  659. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  660. node:setLocalTransform(trf)
  661. comp = node:newBodyComponent()
  662. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  663. node = scene:newSceneNode("Cube.054")
  664. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  665. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  666. trf = Transform.new()
  667. trf:setOrigin(Vec3.new(34.020683, 4.707707, -6.000000))
  668. rot = Mat3.new()
  669. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  670. trf:setRotation(rot)
  671. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  672. node:setLocalTransform(trf)
  673. comp = node:newBodyComponent()
  674. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  675. node = scene:newSceneNode("Cube.047")
  676. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  677. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  678. trf = Transform.new()
  679. trf:setOrigin(Vec3.new(34.410061, 5.122275, -6.000000))
  680. rot = Mat3.new()
  681. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  682. trf:setRotation(rot)
  683. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  684. node:setLocalTransform(trf)
  685. comp = node:newBodyComponent()
  686. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  687. node = scene:newSceneNode("Cube.048")
  688. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  689. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  690. trf = Transform.new()
  691. trf:setOrigin(Vec3.new(34.829124, 5.541336, -6.000000))
  692. rot = Mat3.new()
  693. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  694. trf:setRotation(rot)
  695. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  696. node:setLocalTransform(trf)
  697. comp = node:newBodyComponent()
  698. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  699. node = scene:newSceneNode("Cube.055")
  700. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  701. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  702. trf = Transform.new()
  703. trf:setOrigin(Vec3.new(35.248188, 5.960398, -6.000000))
  704. rot = Mat3.new()
  705. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  706. trf:setRotation(rot)
  707. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  708. node:setLocalTransform(trf)
  709. comp = node:newBodyComponent()
  710. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  711. node = scene:newSceneNode("Cube.056")
  712. node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh")
  713. node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0)
  714. trf = Transform.new()
  715. trf:setOrigin(Vec3.new(35.667244, 6.379460, -6.000000))
  716. rot = Mat3.new()
  717. rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  718. trf:setRotation(rot)
  719. trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866))
  720. node:setLocalTransform(trf)
  721. comp = node:newBodyComponent()
  722. comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent)
  723. node = scene:newSceneNode("grenade")
  724. node:newMeshComponent():setMeshFilename("Assets/MESH_grenade_818651700502e14b.ankimesh")
  725. node:newMaterialComponent():setMaterialFilename("Assets/MTL_grenade_4346150e31bdb957.ankimtl"):setSubmeshIndex(0)
  726. trf = Transform.new()
  727. trf:setOrigin(Vec3.new(88.981850, -21.239265, 0.044049))
  728. rot = Mat3.new()
  729. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  730. trf:setRotation(rot)
  731. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  732. node:setLocalTransform(trf)
  733. node = scene:newSceneNode("refl_probe.002")
  734. comp = node:newGlobalIlluminationProbeComponent()
  735. comp:setCellSize(32.000000)
  736. trf = Transform.new()
  737. trf:setOrigin(Vec3.new(-0.068372, 9.192602, -0.126609))
  738. rot = Mat3.new()
  739. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  740. trf:setRotation(rot)
  741. trf:setScale(Vec3.new(128.498062, 128.498062, 128.498062))
  742. node:setLocalTransform(trf)
  743. node = scene:newSceneNode("refl_probe")
  744. comp = node:newReflectionProbeComponent()
  745. trf = Transform.new()
  746. trf:setOrigin(Vec3.new(0.000000, 9.113202, 0.000000))
  747. rot = Mat3.new()
  748. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  749. trf:setRotation(rot)
  750. trf:setScale(Vec3.new(134.111938, 134.111938, 134.111938))
  751. node:setLocalTransform(trf)
  752. node = scene:newSceneNode("Cube.045")
  753. comp = node:newGlobalIlluminationProbeComponent()
  754. trf = Transform.new()
  755. trf:setOrigin(Vec3.new(39.731613, 2.915391, -28.049887))
  756. rot = Mat3.new()
  757. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  758. trf:setRotation(rot)
  759. trf:setScale(Vec3.new(7.512932, 3.476489, 6.451752))
  760. node:setLocalTransform(trf)
  761. node = scene:newSceneNode("Skybox")
  762. comp = node:newSkyboxComponent()
  763. comp:loadImageResource("EngineAssets/DefaultSkybox.ankitex")
  764. comp:setMaxFogDensity(0.100000)
  765. trf = Transform.new()
  766. trf:setOrigin(Vec3.new(-3.710423, 69.685875, 0.000000))
  767. rot = Mat3.new()
  768. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  769. trf:setRotation(rot)
  770. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  771. node:setLocalTransform(trf)
  772. node = scene:newSceneNode("arm")
  773. node:newMeshComponent():setMeshFilename("Assets/sleevegloveLOW.001_893660395596b206.ankimesh")
  774. node:newMaterialComponent():setMaterialFilename("Assets/arms_3a4232ebbd425e7a.ankimtl"):setSubmeshIndex(0)
  775. node:newMaterialComponent():setMaterialFilename("Assets/boomstick_89a614a521ace7fd.ankimtl"):setSubmeshIndex(1)
  776. trf = Transform.new()
  777. trf:setOrigin(Vec3.new(88.521500, -21.250355, 0.000000))
  778. rot = Mat3.new()
  779. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000)
  780. trf:setRotation(rot)
  781. trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000))
  782. node:setLocalTransform(trf)