scene.lua 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. local scene = getSceneGraph()
  2. local events = getEventManager()
  3. node = scene:newGpuParticleEmitterNode("Cube.020", "assets/gpu_sparks.ankipart")
  4. trf = Transform.new()
  5. trf:setOrigin(Vec4.new(25.411236, 0.543148, 22.679190, 0))
  6. rot = Mat3x4.new()
  7. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  8. trf:setRotation(rot)
  9. trf:setScale(0.500000)
  10. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  11. node = scene:newModelNode("Icosphere.001", "assets/Icosphere_walls.ankimdl")
  12. trf = Transform.new()
  13. trf:setOrigin(Vec4.new(25.411236, 3.345554, 28.742823, 0))
  14. rot = Mat3x4.new()
  15. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  16. trf:setRotation(rot)
  17. trf:setScale(1.912920)
  18. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  19. node2 = scene:newStaticCollisionNode("Icosphere.001_cl", "assets/Icosphere.ankicl", trf)
  20. node = scene:newModelNode("Icosphere", "assets/Icosphere_walls.ankimdl")
  21. trf = Transform.new()
  22. trf:setOrigin(Vec4.new(25.411236, 3.316930, 22.637743, 0))
  23. rot = Mat3x4.new()
  24. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  25. trf:setRotation(rot)
  26. trf:setScale(1.264235)
  27. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  28. node2 = scene:newStaticCollisionNode("Icosphere_cl", "assets/Icosphere.ankicl", trf)
  29. node = scene:newModelNode("Cube.019", "assets/wall_walls.001.ankimdl")
  30. trf = Transform.new()
  31. trf:setOrigin(Vec4.new(30.798492, 2.376611, -6.000000, 0))
  32. rot = Mat3x4.new()
  33. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  34. trf:setRotation(rot)
  35. trf:setScale(1.000000)
  36. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  37. node2 = scene:newStaticCollisionNode("Cube.019_cl", "assets/wall.ankicl", trf)
  38. node = scene:newModelNode("Cube.018", "assets/wall_walls.001.ankimdl")
  39. trf = Transform.new()
  40. trf:setOrigin(Vec4.new(29.798492, 1.376611, -6.000000, 0))
  41. rot = Mat3x4.new()
  42. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  43. trf:setRotation(rot)
  44. trf:setScale(1.000000)
  45. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  46. node2 = scene:newStaticCollisionNode("Cube.018_cl", "assets/wall.ankicl", trf)
  47. node = scene:newModelNode("Cube.017", "assets/wall_walls.001.ankimdl")
  48. trf = Transform.new()
  49. trf:setOrigin(Vec4.new(28.798492, 0.376611, -6.000000, 0))
  50. rot = Mat3x4.new()
  51. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  52. trf:setRotation(rot)
  53. trf:setScale(1.000000)
  54. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  55. node2 = scene:newStaticCollisionNode("Cube.017_cl", "assets/wall.ankicl", trf)
  56. node = scene:newModelNode("Cube.016", "assets/wall_walls.001.ankimdl")
  57. trf = Transform.new()
  58. trf:setOrigin(Vec4.new(31.798492, 3.376611, -6.000000, 0))
  59. rot = Mat3x4.new()
  60. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  61. trf:setRotation(rot)
  62. trf:setScale(1.000000)
  63. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  64. node2 = scene:newStaticCollisionNode("Cube.016_cl", "assets/wall.ankicl", trf)
  65. node = scene:newModelNode("Cube.015", "assets/wall_walls.001.ankimdl")
  66. trf = Transform.new()
  67. trf:setOrigin(Vec4.new(32.798492, 4.376611, -6.000000, 0))
  68. rot = Mat3x4.new()
  69. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  70. trf:setRotation(rot)
  71. trf:setScale(1.000000)
  72. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  73. node2 = scene:newStaticCollisionNode("Cube.015_cl", "assets/wall.ankicl", trf)
  74. node = scene:newModelNode("Cube.014", "assets/wall_walls.001.ankimdl")
  75. trf = Transform.new()
  76. trf:setOrigin(Vec4.new(33.798492, 5.376611, -6.000000, 0))
  77. rot = Mat3x4.new()
  78. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  79. trf:setRotation(rot)
  80. trf:setScale(1.000000)
  81. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  82. node2 = scene:newStaticCollisionNode("Cube.014_cl", "assets/wall.ankicl", trf)
  83. node = scene:newModelNode("Cube.013", "assets/wall_walls.001.ankimdl")
  84. trf = Transform.new()
  85. trf:setOrigin(Vec4.new(39.798492, 6.376611, 0.000000, 0))
  86. rot = Mat3x4.new()
  87. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  88. trf:setRotation(rot)
  89. trf:setScale(1.000000)
  90. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  91. node2 = scene:newStaticCollisionNode("Cube.013_cl", "assets/wall.ankicl", trf)
  92. node = scene:newModelNode("Cube.012", "assets/wall_walls.001.ankimdl")
  93. trf = Transform.new()
  94. trf:setOrigin(Vec4.new(39.798492, 6.376611, -6.000000, 0))
  95. rot = Mat3x4.new()
  96. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  97. trf:setRotation(rot)
  98. trf:setScale(1.000000)
  99. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  100. node2 = scene:newStaticCollisionNode("Cube.012_cl", "assets/wall.ankicl", trf)
  101. node = scene:newModelNode("Cube.011", "assets/wall_walls.001.ankimdl")
  102. trf = Transform.new()
  103. trf:setOrigin(Vec4.new(39.798492, 6.376611, 6.000000, 0))
  104. rot = Mat3x4.new()
  105. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  106. trf:setRotation(rot)
  107. trf:setScale(1.000000)
  108. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  109. node2 = scene:newStaticCollisionNode("Cube.011_cl", "assets/wall.ankicl", trf)
  110. node = scene:newModelNode("Cube.010", "assets/wall_walls.001.ankimdl")
  111. trf = Transform.new()
  112. trf:setOrigin(Vec4.new(39.798492, 6.376611, 12.000000, 0))
  113. rot = Mat3x4.new()
  114. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  115. trf:setRotation(rot)
  116. trf:setScale(1.000000)
  117. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  118. node2 = scene:newStaticCollisionNode("Cube.010_cl", "assets/wall.ankicl", trf)
  119. node = scene:newModelNode("Cube.009", "assets/wall_walls.001.ankimdl")
  120. trf = Transform.new()
  121. trf:setOrigin(Vec4.new(42.271385, 2.886189, 0.000000, 0))
  122. rot = Mat3x4.new()
  123. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  124. trf:setRotation(rot)
  125. trf:setScale(1.000000)
  126. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  127. node2 = scene:newStaticCollisionNode("Cube.009_cl", "assets/wall.ankicl", trf)
  128. node = scene:newModelNode("Cube.008", "assets/wall_walls.001.ankimdl")
  129. trf = Transform.new()
  130. trf:setOrigin(Vec4.new(42.271385, 2.886189, -6.000000, 0))
  131. rot = Mat3x4.new()
  132. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  133. trf:setRotation(rot)
  134. trf:setScale(1.000000)
  135. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  136. node2 = scene:newStaticCollisionNode("Cube.008_cl", "assets/wall.ankicl", trf)
  137. node = scene:newModelNode("Cube.007", "assets/wall_walls.001.ankimdl")
  138. trf = Transform.new()
  139. trf:setOrigin(Vec4.new(42.271385, 2.886189, 6.000000, 0))
  140. rot = Mat3x4.new()
  141. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  142. trf:setRotation(rot)
  143. trf:setScale(1.000000)
  144. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  145. node2 = scene:newStaticCollisionNode("Cube.007_cl", "assets/wall.ankicl", trf)
  146. node = scene:newModelNode("Cube.006", "assets/wall_walls.001.ankimdl")
  147. trf = Transform.new()
  148. trf:setOrigin(Vec4.new(42.271385, 2.886189, 12.000000, 0))
  149. rot = Mat3x4.new()
  150. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  151. trf:setRotation(rot)
  152. trf:setScale(1.000000)
  153. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  154. node2 = scene:newStaticCollisionNode("Cube.006_cl", "assets/wall.ankicl", trf)
  155. node = scene:newModelNode("Cube.005", "assets/wall_walls.001.ankimdl")
  156. trf = Transform.new()
  157. trf:setOrigin(Vec4.new(37.271385, 2.886189, 12.000000, 0))
  158. rot = Mat3x4.new()
  159. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  160. trf:setRotation(rot)
  161. trf:setScale(1.000000)
  162. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  163. node2 = scene:newStaticCollisionNode("Cube.005_cl", "assets/wall.ankicl", trf)
  164. node = scene:newModelNode("Cube.004", "assets/wall_walls.001.ankimdl")
  165. trf = Transform.new()
  166. trf:setOrigin(Vec4.new(37.271385, 2.886189, 6.000000, 0))
  167. rot = Mat3x4.new()
  168. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  169. trf:setRotation(rot)
  170. trf:setScale(1.000000)
  171. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  172. node2 = scene:newStaticCollisionNode("Cube.004_cl", "assets/wall.ankicl", trf)
  173. node = scene:newModelNode("Cube.003", "assets/wall_walls.001.ankimdl")
  174. trf = Transform.new()
  175. trf:setOrigin(Vec4.new(37.271385, 2.886189, -6.000000, 0))
  176. rot = Mat3x4.new()
  177. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  178. trf:setRotation(rot)
  179. trf:setScale(1.000000)
  180. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  181. node2 = scene:newStaticCollisionNode("Cube.003_cl", "assets/wall.ankicl", trf)
  182. node = scene:newModelNode("Cube.002", "assets/wall_walls.001.ankimdl")
  183. trf = Transform.new()
  184. trf:setOrigin(Vec4.new(37.271385, 2.886189, 0.000000, 0))
  185. rot = Mat3x4.new()
  186. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  187. trf:setRotation(rot)
  188. trf:setScale(1.000000)
  189. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  190. node2 = scene:newStaticCollisionNode("Cube.002_cl", "assets/wall.ankicl", trf)
  191. node = scene:newModelNode("Suzanne", "assets/Suzanne_dynamic.ankimdl")
  192. trf = Transform.new()
  193. trf:setOrigin(Vec4.new(179.044937, 9.701135, 0.000000, 0))
  194. rot = Mat3x4.new()
  195. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  196. trf:setRotation(rot)
  197. trf:setScale(1.000000)
  198. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  199. node2 = scene:newStaticCollisionNode("Suzanne_cl", "assets/Suzanne.ankicl", trf)
  200. node = scene:newModelNode("Cube.001", "assets/walls_sky.ankimdl")
  201. trf = Transform.new()
  202. trf:setOrigin(Vec4.new(0.000000, 9.109353, 0.000000, 0))
  203. rot = Mat3x4.new()
  204. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  205. trf:setRotation(rot)
  206. trf:setScale(10.000000)
  207. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  208. node = scene:newModelNode("Cube", "assets/floor_walls.ankimdl")
  209. trf = Transform.new()
  210. trf:setOrigin(Vec4.new(0.000000, -5.068616, 0.000000, 0))
  211. rot = Mat3x4.new()
  212. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  213. trf:setRotation(rot)
  214. trf:setScale(1.000000)
  215. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  216. node2 = scene:newStaticCollisionNode("Cube_cl", "assets/floor.ankicl", trf)
  217. node = scene:newDirectionalLightNode("Lamp_Orientation")
  218. lcomp = node:getSceneNodeBase():getLightComponent()
  219. lcomp:setDiffuseColor(Vec4.new(50.000000, 50.000000, 50.000000, 1))
  220. lcomp:setShadowEnabled(1)
  221. trf = Transform.new()
  222. trf:setOrigin(Vec4.new(4.076245, 74.444725, -1.005454, 0))
  223. rot = Mat3x4.new()
  224. rot:setAll(0.649201, -0.658183, -0.381226, 0.000000, 0.506372, 0.000000, 0.862315, 0.000000, -0.567562, -0.752858, 0.333286, 0.000000)
  225. trf:setRotation(rot)
  226. trf:setScale(1.000000)
  227. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  228. node = scene:newPerspectiveCameraNode("Camera_Orientation")
  229. scene:setActiveCameraNode(node:getSceneNodeBase())
  230. frustumc = node:getSceneNodeBase():getFrustumComponent()
  231. frustumc:setPerspective(0.100000, 500.000000, getMainRenderer():getAspectRatio() * 0.750416, 0.750416)
  232. trf = Transform.new()
  233. trf:setOrigin(Vec4.new(7.481132, 7.870111, 6.507640, 0))
  234. rot = Mat3x4.new()
  235. rot:setAll(0.685921, -0.324013, 0.651558, 0.000000, 0.000000, 0.895396, 0.445271, 0.000000, -0.727676, -0.305421, 0.614170, 0.000000)
  236. trf:setRotation(rot)
  237. trf:setScale(1.000000)
  238. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  239. node = scene:newModelNode("Cube.021", "assets/wall_walls.001.ankimdl")
  240. trf = Transform.new()
  241. trf:setOrigin(Vec4.new(39.798492, 6.376611, -12.000000, 0))
  242. rot = Mat3x4.new()
  243. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  244. trf:setRotation(rot)
  245. trf:setScale(1.000000)
  246. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  247. node2 = scene:newStaticCollisionNode("Cube.021_cl", "assets/wall.ankicl", trf)
  248. node = scene:newModelNode("Cube.022", "assets/wall_walls.001.ankimdl")
  249. trf = Transform.new()
  250. trf:setOrigin(Vec4.new(42.271385, 2.886189, -12.000000, 0))
  251. rot = Mat3x4.new()
  252. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  253. trf:setRotation(rot)
  254. trf:setScale(1.000000)
  255. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  256. node2 = scene:newStaticCollisionNode("Cube.022_cl", "assets/wall.ankicl", trf)
  257. node = scene:newModelNode("Cube.023", "assets/wall_walls.001.ankimdl")
  258. trf = Transform.new()
  259. trf:setOrigin(Vec4.new(37.271385, 2.886189, -12.000000, 0))
  260. rot = Mat3x4.new()
  261. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  262. trf:setRotation(rot)
  263. trf:setScale(1.000000)
  264. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  265. node2 = scene:newStaticCollisionNode("Cube.023_cl", "assets/wall.ankicl", trf)
  266. node = scene:newModelNode("Cube.024", "assets/wall_walls.001.ankimdl")
  267. trf = Transform.new()
  268. trf:setOrigin(Vec4.new(39.798492, 6.376611, -18.000000, 0))
  269. rot = Mat3x4.new()
  270. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  271. trf:setRotation(rot)
  272. trf:setScale(1.000000)
  273. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  274. node2 = scene:newStaticCollisionNode("Cube.024_cl", "assets/wall.ankicl", trf)
  275. node = scene:newModelNode("Cube.025", "assets/wall_walls.001.ankimdl")
  276. trf = Transform.new()
  277. trf:setOrigin(Vec4.new(42.271385, 2.886189, -18.000000, 0))
  278. rot = Mat3x4.new()
  279. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  280. trf:setRotation(rot)
  281. trf:setScale(1.000000)
  282. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  283. node2 = scene:newStaticCollisionNode("Cube.025_cl", "assets/wall.ankicl", trf)
  284. node = scene:newModelNode("Cube.026", "assets/wall_walls.001.ankimdl")
  285. trf = Transform.new()
  286. trf:setOrigin(Vec4.new(37.271385, 2.886189, -18.000000, 0))
  287. rot = Mat3x4.new()
  288. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  289. trf:setRotation(rot)
  290. trf:setScale(1.000000)
  291. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  292. node2 = scene:newStaticCollisionNode("Cube.026_cl", "assets/wall.ankicl", trf)
  293. node = scene:newModelNode("Cube.027", "assets/wall_walls.001.ankimdl")
  294. trf = Transform.new()
  295. trf:setOrigin(Vec4.new(34.761005, 2.886189, -21.498241, 0))
  296. rot = Mat3x4.new()
  297. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000)
  298. trf:setRotation(rot)
  299. trf:setScale(1.000000)
  300. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  301. node2 = scene:newStaticCollisionNode("Cube.027_cl", "assets/wall.ankicl", trf)
  302. node = scene:newModelNode("Cube.028", "assets/wall_walls.001.ankimdl")
  303. trf = Transform.new()
  304. trf:setOrigin(Vec4.new(44.761005, 2.886189, -21.498241, 0))
  305. rot = Mat3x4.new()
  306. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000)
  307. trf:setRotation(rot)
  308. trf:setScale(1.000000)
  309. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  310. node2 = scene:newStaticCollisionNode("Cube.028_cl", "assets/wall.ankicl", trf)
  311. node = scene:newModelNode("Cube.029", "assets/wall_walls.001.ankimdl")
  312. trf = Transform.new()
  313. trf:setOrigin(Vec4.new(47.271385, 2.886189, -25.000000, 0))
  314. rot = Mat3x4.new()
  315. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  316. trf:setRotation(rot)
  317. trf:setScale(1.000000)
  318. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  319. node2 = scene:newStaticCollisionNode("Cube.029_cl", "assets/wall.ankicl", trf)
  320. node = scene:newModelNode("Cube.030", "assets/wall_walls.001.ankimdl")
  321. trf = Transform.new()
  322. trf:setOrigin(Vec4.new(32.271385, 2.886189, -25.000000, 0))
  323. rot = Mat3x4.new()
  324. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  325. trf:setRotation(rot)
  326. trf:setScale(1.000000)
  327. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  328. node2 = scene:newStaticCollisionNode("Cube.030_cl", "assets/wall.ankicl", trf)
  329. node = scene:newModelNode("Cube.031", "assets/wall_walls.001.ankimdl")
  330. trf = Transform.new()
  331. trf:setOrigin(Vec4.new(32.271385, 2.886189, -31.000000, 0))
  332. rot = Mat3x4.new()
  333. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  334. trf:setRotation(rot)
  335. trf:setScale(1.000000)
  336. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  337. node2 = scene:newStaticCollisionNode("Cube.031_cl", "assets/wall.ankicl", trf)
  338. node = scene:newModelNode("Cube.032", "assets/wall_walls.001.ankimdl")
  339. trf = Transform.new()
  340. trf:setOrigin(Vec4.new(47.271385, 2.886189, -31.000000, 0))
  341. rot = Mat3x4.new()
  342. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  343. trf:setRotation(rot)
  344. trf:setScale(1.000000)
  345. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  346. node2 = scene:newStaticCollisionNode("Cube.032_cl", "assets/wall.ankicl", trf)
  347. node = scene:newModelNode("Cube.033", "assets/wall_walls.001.ankimdl")
  348. trf = Transform.new()
  349. trf:setOrigin(Vec4.new(44.761005, 2.886189, -34.498241, 0))
  350. rot = Mat3x4.new()
  351. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000)
  352. trf:setRotation(rot)
  353. trf:setScale(1.000000)
  354. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  355. node2 = scene:newStaticCollisionNode("Cube.033_cl", "assets/wall.ankicl", trf)
  356. node = scene:newModelNode("Cube.034", "assets/wall_walls.001.ankimdl")
  357. trf = Transform.new()
  358. trf:setOrigin(Vec4.new(38.761005, 2.886189, -34.498241, 0))
  359. rot = Mat3x4.new()
  360. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000)
  361. trf:setRotation(rot)
  362. trf:setScale(1.000000)
  363. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  364. node2 = scene:newStaticCollisionNode("Cube.034_cl", "assets/wall.ankicl", trf)
  365. node = scene:newModelNode("Cube.035", "assets/wall_walls.001.ankimdl")
  366. trf = Transform.new()
  367. trf:setOrigin(Vec4.new(34.761005, 2.886189, -34.498241, 0))
  368. rot = Mat3x4.new()
  369. rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000)
  370. trf:setRotation(rot)
  371. trf:setScale(0.995130)
  372. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  373. node2 = scene:newStaticCollisionNode("Cube.035_cl", "assets/wall.ankicl", trf)
  374. node = scene:newModelNode("Cube.036", "assets/wall_walls.001.ankimdl")
  375. trf = Transform.new()
  376. trf:setOrigin(Vec4.new(34.798492, 6.376611, -32.000000, 0))
  377. rot = Mat3x4.new()
  378. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  379. trf:setRotation(rot)
  380. trf:setScale(1.000000)
  381. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  382. node2 = scene:newStaticCollisionNode("Cube.036_cl", "assets/wall.ankicl", trf)
  383. node = scene:newModelNode("Cube.038", "assets/wall_walls.001.ankimdl")
  384. trf = Transform.new()
  385. trf:setOrigin(Vec4.new(34.798492, 6.376611, -24.000000, 0))
  386. rot = Mat3x4.new()
  387. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  388. trf:setRotation(rot)
  389. trf:setScale(1.000000)
  390. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  391. node2 = scene:newStaticCollisionNode("Cube.038_cl", "assets/wall.ankicl", trf)
  392. node = scene:newModelNode("Cube.039", "assets/wall_walls.001.ankimdl")
  393. trf = Transform.new()
  394. trf:setOrigin(Vec4.new(34.798492, 6.398044, -28.000000, 0))
  395. rot = Mat3x4.new()
  396. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  397. trf:setRotation(rot)
  398. trf:setScale(1.000000)
  399. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  400. node2 = scene:newStaticCollisionNode("Cube.039_cl", "assets/wall.ankicl", trf)
  401. node = scene:newModelNode("Cube.037", "assets/wall_walls.001.ankimdl")
  402. trf = Transform.new()
  403. trf:setOrigin(Vec4.new(44.798492, 6.376611, -32.000000, 0))
  404. rot = Mat3x4.new()
  405. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  406. trf:setRotation(rot)
  407. trf:setScale(1.000000)
  408. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  409. node2 = scene:newStaticCollisionNode("Cube.037_cl", "assets/wall.ankicl", trf)
  410. node = scene:newModelNode("Cube.040", "assets/wall_walls.001.ankimdl")
  411. trf = Transform.new()
  412. trf:setOrigin(Vec4.new(44.798492, 6.376611, -24.000000, 0))
  413. rot = Mat3x4.new()
  414. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  415. trf:setRotation(rot)
  416. trf:setScale(1.000000)
  417. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  418. node2 = scene:newStaticCollisionNode("Cube.040_cl", "assets/wall.ankicl", trf)
  419. node = scene:newModelNode("Cube.041", "assets/wall_walls.001.ankimdl")
  420. trf = Transform.new()
  421. trf:setOrigin(Vec4.new(44.798492, 6.398044, -28.000000, 0))
  422. rot = Mat3x4.new()
  423. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  424. trf:setRotation(rot)
  425. trf:setScale(1.000000)
  426. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  427. node2 = scene:newStaticCollisionNode("Cube.041_cl", "assets/wall.ankicl", trf)
  428. node = scene:newModelNode("Cube.042", "assets/wall_walls.001.ankimdl")
  429. trf = Transform.new()
  430. trf:setOrigin(Vec4.new(39.798492, 6.334259, -31.947594, 0))
  431. rot = Mat3x4.new()
  432. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  433. trf:setRotation(rot)
  434. trf:setScale(1.000000)
  435. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  436. node2 = scene:newStaticCollisionNode("Cube.042_cl", "assets/wall.ankicl", trf)
  437. node = scene:newModelNode("Cube.043", "assets/wall_walls.001.ankimdl")
  438. trf = Transform.new()
  439. trf:setOrigin(Vec4.new(39.798492, 6.334259, -23.947592, 0))
  440. rot = Mat3x4.new()
  441. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  442. trf:setRotation(rot)
  443. trf:setScale(1.000000)
  444. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  445. node2 = scene:newStaticCollisionNode("Cube.043_cl", "assets/wall.ankicl", trf)
  446. node = scene:newModelNode("Cube.044", "assets/wall_walls.001.ankimdl")
  447. trf = Transform.new()
  448. trf:setOrigin(Vec4.new(39.798492, 6.355691, -27.947592, 0))
  449. rot = Mat3x4.new()
  450. rot:setAll(0.000000, 1.000000, 0.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  451. trf:setRotation(rot)
  452. trf:setScale(1.000000)
  453. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  454. node2 = scene:newStaticCollisionNode("Cube.044_cl", "assets/wall.ankicl", trf)
  455. node = scene:newGlobalIlluminationProbeNode("refl_probe.002")
  456. comp = node:getSceneNodeBase():getGlobalIlluminationProbeComponent()
  457. comp:setBoundingBox(Vec4.new(-128.498062, -128.498062, -128.498062, 0), Vec4.new(128.498062, 128.498062, 128.498062, 0))
  458. comp:setCellSize(32.000000)
  459. trf = Transform.new()
  460. trf:setOrigin(Vec4.new(-0.068372, 9.192602, -0.126609, 0))
  461. rot = Mat3x4.new()
  462. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  463. trf:setRotation(rot)
  464. trf:setScale(1.000000)
  465. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  466. node = scene:newReflectionProbeNode("refl_probe", Vec4.new(-134.111938, -134.111938, -134.111938, 0), Vec4.new(134.111938, 134.111938, 134.111938, 0))
  467. trf = Transform.new()
  468. trf:setOrigin(Vec4.new(0.000000, 9.113202, 0.000000, 0))
  469. rot = Mat3x4.new()
  470. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  471. trf:setRotation(rot)
  472. trf:setScale(1.000000)
  473. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)
  474. node = scene:newGlobalIlluminationProbeNode("Cube.045")
  475. comp = node:getSceneNodeBase():getGlobalIlluminationProbeComponent()
  476. comp:setBoundingBox(Vec4.new(-7.512932, -3.476489, -6.451754, 0), Vec4.new(7.512932, 3.476490, 6.451752, 0))
  477. trf = Transform.new()
  478. trf:setOrigin(Vec4.new(39.731613, 2.915391, -28.049887, 0))
  479. rot = Mat3x4.new()
  480. rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000)
  481. trf:setRotation(rot)
  482. trf:setScale(1.000000)
  483. node:getSceneNodeBase():getMoveComponent():setLocalTransform(trf)