Scene.lua 37 KB

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