| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672 |
- -- Generated by: C:\src\anki\out\build\x64-Debug\Binaries\GltfImporter.exe PhysicsPlayground.gltf C:/src/anki/Samples/PhysicsPlayground/Assets/ -rpath Assets -texrpath Assets -v
- local scene = getSceneGraph()
- local events = getEventManager()
- node = scene:newSceneNode("Icosphere.001")
- node:newModelComponent():loadModelResource("Assets/Icosphere_walls_ac2438354c62251.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(25.411236, 3.345554, 28.742823, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.912920, 1.912920, 1.912920, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Icosphere")
- node:newModelComponent():loadModelResource("Assets/Icosphere_walls_ac2438354c62251.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(25.411236, 3.316930, 22.637743, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.264235, 1.264235, 1.264235, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.019")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(30.798492, 2.376611, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.018")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(29.798492, 1.376611, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.017")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(28.798492, 0.376611, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.016")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(31.798492, 3.376611, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.015")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(32.798492, 4.376611, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.014")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(33.798492, 5.376611, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.013")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.376611, 0.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.012")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.376611, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.011")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.376611, 6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.010")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.376611, 12.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.009")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(42.271385, 2.886189, 0.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.008")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(42.271385, 2.886189, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.007")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(42.271385, 2.886189, 6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.006")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(42.271385, 2.886189, 12.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.005")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(37.271385, 2.886189, 12.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.004")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(37.271385, 2.886189, 6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.003")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(37.271385, 2.886189, -6.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.002")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(37.271385, 2.886189, 0.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Suzanne")
- node:newModelComponent():loadModelResource("Assets/Suzanne_dynamic_36043dae41fe12d5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(179.044937, 9.701135, 0.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube")
- node:newModelComponent():loadModelResource("Assets/floor_walls_784c261d516a979d.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(0.000000, -5.068616, 0.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Lamp_Orientation")
- lcomp = node:newLightComponent()
- lcomp:setLightComponentType(LightComponentType.kDirectional)
- lcomp:setDiffuseColor(Vec4.new(50.000000, 50.000000, 50.000000, 1))
- lcomp:setShadowEnabled(1)
- trf = Transform.new()
- trf:setOrigin(Vec4.new(4.076245, 74.444725, -1.005454, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- node = scene:newSceneNode("Camera_Orientation")
- scene:setActiveCameraNode(node)
- comp = node:newCameraComponent()
- comp:setPerspective(0.100000, 500.000000, getRenderer():getAspectRatio() * 0.750416, 0.750416)
- trf = Transform.new()
- trf:setOrigin(Vec4.new(7.481132, 7.870111, 6.507640, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- node = scene:newSceneNode("Cube.021")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.376611, -12.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.022")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(42.271385, 2.886189, -12.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.023")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(37.271385, 2.886189, -12.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.024")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.376611, -18.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.025")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(42.271385, 2.886189, -18.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.026")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(37.271385, 2.886189, -18.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.027")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(34.761005, 2.886189, -21.498241, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.028")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(44.761005, 2.886189, -21.498241, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.029")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(47.271385, 2.886189, -25.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.030")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(32.271385, 2.886189, -25.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.031")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(32.271385, 2.886189, -31.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.032")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(47.271385, 2.886189, -31.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.033")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(44.761005, 2.886189, -34.498241, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.034")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(38.761005, 2.886189, -34.498241, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.035")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(34.761005, 2.886189, -34.498241, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(0.995130, 0.995130, 0.995130, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.036")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(34.798492, 6.376611, -32.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.038")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(34.798492, 6.376611, -24.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.039")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(34.798492, 6.398044, -28.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.037")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(44.798492, 6.376611, -32.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.040")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(44.798492, 6.376611, -24.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.041")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(44.798492, 6.398044, -28.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.042")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.334259, -31.947594, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.043")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.334259, -23.947592, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("Cube.044")
- node:newModelComponent():loadModelResource("Assets/wall_walls.001_cc03fb9e615c68b5.ankimdl")
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.798492, 6.355691, -27.947592, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- comp = node:newBodyComponent()
- comp:setCollisionShapeType(BodyComponentCollisionShapeType.kFromModelComponent)
- comp:teleportTo(trf)
- node = scene:newSceneNode("refl_probe.002")
- comp = node:newGlobalIlluminationProbeComponent()
- comp:setBoxVolumeSize(Vec3.new(256.996124, 256.996124, 256.996124))
- comp:setCellSize(32.000000)
- trf = Transform.new()
- trf:setOrigin(Vec4.new(-0.068372, 9.192602, -0.126609, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- node = scene:newSceneNode("refl_probe")
- comp = node:newReflectionProbeComponent()
- comp:setBoxVolumeSize(Vec3.new(268.223877, 268.223877, 268.223877))
- trf = Transform.new()
- trf:setOrigin(Vec4.new(0.000000, 9.113202, 0.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- node = scene:newSceneNode("Cube.045")
- comp = node:newGlobalIlluminationProbeComponent()
- comp:setBoxVolumeSize(Vec3.new(15.025865, 6.952979, 12.903503))
- trf = Transform.new()
- trf:setOrigin(Vec4.new(39.731613, 2.915391, -28.049887, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
- node = scene:newSceneNode("Skybox")
- comp = node:newSkyboxComponent()
- comp:loadImageResource("EngineAssets/DefaultSkybox.ankitex")
- comp:setMaxFogDensity(0.100000)
- trf = Transform.new()
- trf:setOrigin(Vec4.new(-3.710423, 69.685875, 0.000000, 0))
- rot = Mat3x4.new()
- 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)
- trf:setRotation(rot)
- trf:setScale(Vec4.new(1.000000, 1.000000, 1.000000, 0))
- node:setLocalTransform(trf)
|