Scene.lua 43 KB

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