-- 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 local scene = getSceneGraph() local events = getEventManager() node = scene:newSceneNode("Icosphere.001") node:newMeshComponent():setMeshFilename("Assets/Icosphere_834d64c142beaa13.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls_9619132fa258d22d.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(25.411236, 3.345554, 28.742823)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.912920, 1.912920, 1.912920)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Icosphere") node:newMeshComponent():setMeshFilename("Assets/Icosphere_834d64c142beaa13.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls_9619132fa258d22d.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(25.411236, 3.316930, 22.637743)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.264235, 1.264235, 1.264235)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.019") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(30.249128, 0.936152, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.018") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(29.830065, 0.517090, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.017") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(29.411005, 0.098028, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.016") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(30.668188, 1.355214, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.015") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(31.087252, 1.774276, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.014") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(31.506311, 2.193337, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.013") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.376611, 0.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.012") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.376611, -6.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.011") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.376611, 6.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.010") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.376611, 12.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.009") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(42.271385, 2.886189, 0.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.008") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(42.271385, 2.886189, -6.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.007") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(42.271385, 2.886189, 6.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.006") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(42.271385, 2.886189, 12.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.005") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(37.271385, 2.886189, 12.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.004") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(37.271385, 2.886189, 6.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.003") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(37.271385, 2.886189, -6.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.002") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(37.271385, 2.886189, 0.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Suzanne") node:newMeshComponent():setMeshFilename("Assets/Suzanne_e3526e1428c0763c.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/dynamic_f238b379a41079ff.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(86.774399, -21.439922, 0.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube") node:newMeshComponent():setMeshFilename("Assets/floor_71cbd2644e53ab8c.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls_9619132fa258d22d.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(0.000000, -5.068616, 0.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Lamp") lcomp = node:newLightComponent() lcomp:setLightComponentType(LightComponentType.kDirectional) lcomp:setDiffuseColor(Vec4.new(39.613998, 39.613998, 39.613998, 1)) lcomp:setShadowEnabled(1) trf = Transform.new() trf:setOrigin(Vec3.new(4.076245, 74.444725, -1.005454)) rot = Mat3.new() rot:setAll(0.649201, -0.658184, -0.381226, 0.506372, -0.000000, 0.862315, -0.567562, -0.752858, 0.333285) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) node = scene:newSceneNode("Camera") scene:setActiveCameraNode(node) comp = node:newCameraComponent() comp:setPerspective(0.100000, 500.000000, getRenderer():getAspectRatio() * 0.750416, 0.750416) trf = Transform.new() trf:setOrigin(Vec3.new(7.481132, 7.870111, 6.507640)) rot = Mat3.new() rot:setAll(0.685921, -0.324013, 0.651558, -0.000000, 0.895396, 0.445271, -0.727676, -0.305421, 0.614170) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) node = scene:newSceneNode("Cube.021") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.376611, -12.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.022") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(42.271385, 2.886189, -12.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.023") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(37.271385, 2.886189, -12.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.024") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.376611, -18.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.025") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(42.271385, 2.886189, -18.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.026") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(37.271385, 2.886189, -18.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.027") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(34.761005, 2.886189, -21.498241)) rot = Mat3.new() rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.028") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(44.761005, 2.886189, -21.498241)) rot = Mat3.new() rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.029") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(47.271385, 2.886189, -25.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.030") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(32.271385, 2.886189, -25.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.031") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(32.271385, 2.886189, -31.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.032") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(47.271385, 2.886189, -31.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.033") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(44.761005, 2.886189, -34.498241)) rot = Mat3.new() rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.034") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(38.761005, 2.886189, -34.498241)) rot = Mat3.new() rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.035") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(34.761005, 2.886189, -34.498241)) rot = Mat3.new() rot:setAll(0.000000, 0.000000, 1.000000, 0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.995130, 0.995130, 0.995130)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.036") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(34.798492, 6.376611, -32.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.038") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(34.798492, 6.376611, -24.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.039") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(34.798492, 6.398044, -28.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.037") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(44.798492, 6.376611, -32.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.040") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(44.798492, 6.376611, -24.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.041") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(44.798492, 6.398044, -28.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.042") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.334259, -31.947594)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.043") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.334259, -23.947592)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.044") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(39.798492, 6.355691, -27.947592)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.001") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(46.798492, 7.787276, 12.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.046") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(53.798492, 8.787276, 12.000000)) rot = Mat3.new() rot:setAll(-0.000000, 1.000000, 0.000000, -1.000000, -0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.049") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(32.763500, 3.450523, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.050") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(32.344437, 3.031460, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.051") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(31.925379, 2.612399, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.052") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(33.182560, 3.869584, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.053") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(33.601627, 4.288646, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.054") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(34.020683, 4.707707, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.047") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(34.410061, 5.122275, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.048") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(34.829124, 5.541336, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.055") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(35.248188, 5.960398, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("Cube.056") node:newMeshComponent():setMeshFilename("Assets/wall_87565b500719f7c4.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/walls.001_2469a4d42c8d129c.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(35.667244, 6.379460, -6.000000)) rot = Mat3.new() rot:setAll(0.000000, 1.000000, 0.000000, -1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(0.419062, 0.419062, 0.799866)) node:setLocalTransform(trf) comp = node:newBodyComponent() comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromMeshComponent) comp:teleportTo(trf:getOrigin(), trf:getRotation()) node = scene:newSceneNode("grenade") node:newMeshComponent():setMeshFilename("Assets/MESH_grenade_818651700502e14b.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/MTL_grenade_4346150e31bdb957.ankimtl"):setSubmeshIndex(0) trf = Transform.new() trf:setOrigin(Vec3.new(88.981850, -21.239265, 0.044049)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) node = scene:newSceneNode("refl_probe.002") comp = node:newGlobalIlluminationProbeComponent() comp:setCellSize(32.000000) trf = Transform.new() trf:setOrigin(Vec3.new(-0.068372, 9.192602, -0.126609)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(128.498062, 128.498062, 128.498062)) node:setLocalTransform(trf) node = scene:newSceneNode("refl_probe") comp = node:newReflectionProbeComponent() trf = Transform.new() trf:setOrigin(Vec3.new(0.000000, 9.113202, 0.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(134.111938, 134.111938, 134.111938)) node:setLocalTransform(trf) node = scene:newSceneNode("Cube.045") comp = node:newGlobalIlluminationProbeComponent() trf = Transform.new() trf:setOrigin(Vec3.new(39.731613, 2.915391, -28.049887)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(7.512932, 3.476489, 6.451752)) node:setLocalTransform(trf) node = scene:newSceneNode("Skybox") comp = node:newSkyboxComponent() comp:loadImageResource("EngineAssets/DefaultSkybox.ankitex") comp:setMaxFogDensity(0.100000) trf = Transform.new() trf:setOrigin(Vec3.new(-3.710423, 69.685875, 0.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf) node = scene:newSceneNode("arm") node:newMeshComponent():setMeshFilename("Assets/sleevegloveLOW.001_893660395596b206.ankimesh") node:newMaterialComponent():setMaterialFilename("Assets/arms_3a4232ebbd425e7a.ankimtl"):setSubmeshIndex(0) node:newMaterialComponent():setMaterialFilename("Assets/boomstick_89a614a521ace7fd.ankimtl"):setSubmeshIndex(1) trf = Transform.new() trf:setOrigin(Vec3.new(88.521500, -21.250355, 0.000000)) rot = Mat3.new() rot:setAll(1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000) trf:setRotation(rot) trf:setScale(Vec3.new(1.000000, 1.000000, 1.000000)) node:setLocalTransform(trf)