From fdb0fa45597aeb9547cb39c865432510e10156d6 Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Fri, 20 May 2016 16:21:52 -0700 Subject: [PATCH] add blocky start --- .../Home/blocky/arrangement1.json | 103 ++++++ .../Home/blocky/arrangement1A.json | 104 ++++++ .../Home/blocky/arrangement2.json | 179 ++++++++++ .../Home/blocky/arrangement2A.json | 174 ++++++++++ .../Home/blocky/arrangement3.json | 311 ++++++++++++++++++ .../Home/blocky/arrangement3A.json | 229 +++++++++++++ .../Home/blocky/arrangement4.json | 232 +++++++++++++ .../Home/blocky/arrangement4A.json | 203 ++++++++++++ .../Home/blocky/arrangement5.json | 254 ++++++++++++++ .../Home/blocky/arrangement5B.json | 203 ++++++++++++ .../Home/blocky/arrangement5a.json | 197 +++++++++++ .../Home/blocky/arrangement6.json | 238 ++++++++++++++ .../Home/blocky/arrangement6B.json | 236 +++++++++++++ .../DomainContent/Home/blocky/blocky.js | 227 +++++++++++++ .../Home/blocky/singleSpawner.js | 27 ++ .../DomainContent/Home/blocky/wrapper.js | 61 ++++ 16 files changed, 2978 insertions(+) create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement1.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement1A.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement2.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement2A.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement3.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement3A.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement4.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement4A.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement5.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement5B.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement5a.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement6.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/arrangement6B.json create mode 100644 unpublishedScripts/DomainContent/Home/blocky/blocky.js create mode 100644 unpublishedScripts/DomainContent/Home/blocky/singleSpawner.js create mode 100644 unpublishedScripts/DomainContent/Home/blocky/wrapper.js diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement1.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement1.json new file mode 100644 index 0000000000..754db172b6 --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement1.json @@ -0,0 +1,103 @@ +{ + "Entities": [{ + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "dynamic": 0, + "id": "{e4fd5fc4-10b9-4d84-b6ba-b732cc7de7b7}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0147705078125, + "y": 0.5, + "z": 0 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.12884356081485748, + "y": 0.35638594627380371, + "z": -0.14361406862735748 + }, + "rotation": { + "w": -0.31651788949966431, + "x": -0.31587702035903931, + "y": -0.63225758075714111, + "z": 0.63265430927276611 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "dynamic": 0, + "id": "{1e310b85-7823-414b-8448-4435e056c07a}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0, + "y": 0, + "z": 0.0084075927734375 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.14361406862735748, + "y": -0.14361406862735748, + "z": -0.13520647585391998 + }, + "rotation": { + "w": 0.34120702743530273, + "x": -0.34154266119003296, + "y": 0.61931788921356201, + "z": 0.61916530132293701 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:28:38Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "dynamic": 0, + "id": "{1f07cd0e-f9d1-46f3-b71a-ad7127d1a0b0}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0155029296875, + "y": 0.25, + "z": 0.0084686279296875 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.12811113893985748, + "y": 0.10638593137264252, + "z": -0.13514544069766998 + }, + "rotation": { + "w": 0.62478065490722656, + "x": -0.62526893615722656, + "y": -0.33089190721511841, + "z": -0.33040362596511841 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }], + "Version": 57 +} \ No newline at end of file diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement1A.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement1A.json new file mode 100644 index 0000000000..2d224c7d0a --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement1A.json @@ -0,0 +1,104 @@ +{ + "Entities": [ + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:28:38Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "id": "{061cfb78-aece-414a-a56b-a83df3d3c188}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "parentID": "{adc9842c-db50-4bbf-8d90-8c12e5ad59ac}", + "position": { + "x": -0.0069605633616447449, + "y": -0.0044899135828018188, + "z": 0.24996849894523621 + }, + "queryAACube": { + "scale": 0.86168444156646729, + "x": 1098.883544921875, + "y": 460.20965576171875, + "z": -69.462593078613281 + }, + "rotation": { + "w": -6.8545341491699219e-05, + "x": -0.022976815700531006, + "y": 0.9996645450592041, + "z": 0.00011834502220153809 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "id": "{526b3076-78eb-438d-8566-ae0d0599029c}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "parentID": "{adc9842c-db50-4bbf-8d90-8c12e5ad59ac}", + "position": { + "x": 0.0026676803827285767, + "y": -0.016830384731292725, + "z": 0.4999808669090271 + }, + "queryAACube": { + "scale": 0.86168444156646729, + "x": 1098.8680419921875, + "y": 459.95965576171875, + "z": -69.462570190429688 + }, + "rotation": { + "w": 3.6507844924926758e-05, + "x": 0.99916994571685791, + "y": 0.040203869342803955, + "z": -0.0002717822790145874 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "angularDamping": 0, + "angularVelocity": { + "x": 0, + "y": 0.52359879016876221, + "z": 0 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "id": "{adc9842c-db50-4bbf-8d90-8c12e5ad59ac}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.14361406862735748, + "y": -0.14361406862735748, + "z": -0.14361406862735748 + }, + "rotation": { + "w": -0.69973748922348022, + "x": -0.69991332292556763, + "y": 0.10158070176839828, + "z": -0.10084760189056396 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + } + ], + "Version": 57 +} diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement2.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement2.json new file mode 100644 index 0000000000..2a47e2c5d4 --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement2.json @@ -0,0 +1,179 @@ +{ + "Entities": [{ + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "dynamic": 0, + "id": "{e4fd5fc4-10b9-4d84-b6ba-b732cc7de7b7}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0531005859375, + "y": 0.17498779296875, + "z": 0.10013580322265625 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.090513482689857483, + "y": 0.031373724341392517, + "z": -0.043478265404701233 + }, + "rotation": { + "w": 0.70144569873809814, + "x": 0.089502327144145966, + "y": 0.089585684239864349, + "z": 0.70138269662857056 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:28:38Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{82c627f6-d296-4ee9-9206-56aa06846013}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0238037109375, + "y": 0.5, + "z": 0 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": -0.01949755847454071, + "y": 0.4566987156867981, + "z": -0.04330126941204071 + }, + "rotation": { + "w": 0.00020232143288012594, + "x": 0.89600801467895508, + "y": 0.00046253428445197642, + "z": 0.44403755664825439 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": -0.007318682037293911, + "y": -0.0010040029883384705, + "z": -9.1018431703560054e-05 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{c07b3366-9fb2-4192-a2aa-963bbfa46de1}", + "modelURL": "atp:/kineticObjects/blocks/planky_red.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0, + "y": 0, + "z": 0.11705780029296875 + }, + "queryAACube": { + "scale": 0.27386128902435303, + "x": -0.13693064451217651, + "y": -0.13693064451217651, + "z": -0.019872844219207764 + }, + "rotation": { + "w": 0.52331775426864624, + "x": -0.52310466766357422, + "y": -0.47588011622428894, + "z": -0.47543454170227051 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{1fa9f95d-b040-4d52-8c50-6ceaaf794bba}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.024658203125, + "y": 0.3499755859375, + "z": 0.00504302978515625 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": -0.10369677841663361, + "y": 0.22162060439586639, + "z": -0.12331195175647736 + }, + "rotation": { + "w": 0.69705569744110107, + "x": 0.69662469625473022, + "y": 0.11998884379863739, + "z": -0.12012538313865662 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": -0.0049706185236573219, + "y": 0.0010576546192169189, + "z": 0.00093202776042744517 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{02fb5b0d-17cb-44b2-ad41-9dbe24bcd606}", + "modelURL": "atp:/kineticObjects/blocks/planky_red.fbx", + "name": "home_model_block", + "position": { + "x": 0.1104736328125, + "y": 0, + "z": 0.097320556640625 + }, + "queryAACube": { + "scale": 0.27386128902435303, + "x": -0.026457011699676514, + "y": -0.13693064451217651, + "z": -0.039610087871551514 + }, + "rotation": { + "w": 0.58954423666000366, + "x": 0.58955228328704834, + "y": -0.39041024446487427, + "z": 0.39044272899627686 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + }], + "Version": 57 +} \ No newline at end of file diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement2A.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement2A.json new file mode 100644 index 0000000000..42ae9059ac --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement2A.json @@ -0,0 +1,174 @@ +{ + "Entities": [ + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{c170eefd-bd60-4d6b-a475-9c084f1c2de0}", + "modelURL": "atp:/kineticObjects/blocks/planky_red.fbx", + "name": "home_model_block", + "parentID": "{505fe8c9-4678-43ac-9eaf-c8327c08b02a}", + "position": { + "x": 0.13519594073295593, + "y": 0.49943554401397705, + "z": 0.017574317753314972 + }, + "queryAACube": { + "scale": 0.82158386707305908, + "x": 1099.1766357421875, + "y": 460.05300903320312, + "z": -69.957748413085938 + }, + "rotation": { + "w": 0.7015533447265625, + "x": -0.70165455341339111, + "y": 0.08770480751991272, + "z": 0.088382631540298462 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{336bdac8-0229-460d-a9be-38efbc8b7e1f}", + "modelURL": "atp:/kineticObjects/blocks/planky_red.fbx", + "name": "home_model_blocky_block", + "parentID": "{505fe8c9-4678-43ac-9eaf-c8327c08b02a}", + "position": { + "x": 0.083991743624210358, + "y": 0.49937903881072998, + "z": -0.082286134362220764 + }, + "queryAACube": { + "scale": 0.82158386707305908, + "x": 1099.06591796875, + "y": 460.05300903320312, + "z": -69.939018249511719 + }, + "rotation": { + "w": -0.6799309253692627, + "x": -0.68009138107299805, + "y": -0.19405338168144226, + "z": 0.19368152320384979 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "id": "{3ba19cc0-2572-4f42-9c21-1d9da982855c}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "parentID": "{505fe8c9-4678-43ac-9eaf-c8327c08b02a}", + "position": { + "x": 0.10286395996809006, + "y": 0.32441270351409912, + "z": -0.029775351285934448 + }, + "queryAACube": { + "scale": 0.86168444156646729, + "x": 1099.0992431640625, + "y": 460.20794677734375, + "z": -69.975509643554688 + }, + "rotation": { + "w": 0.39181840419769287, + "x": -0.58902782201766968, + "y": 0.58839577436447144, + "z": -0.39155444502830505 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{7b4e39a0-2e4b-49da-a9c0-18bca0adb568}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "parentID": "{505fe8c9-4678-43ac-9eaf-c8327c08b02a}", + "position": { + "x": 0.0086878137663006783, + "y": 0.14853793382644653, + "z": 0.00078312074765563011 + }, + "queryAACube": { + "scale": 0.77012991905212402, + "x": 1099.113037109375, + "y": 460.42950439453125, + "z": -70.023597717285156 + }, + "rotation": { + "w": 0.57103759050369263, + "x": -0.57109135389328003, + "y": -0.41725897789001465, + "z": -0.41673195362091064 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": -0.0010035448940470815, + "y": 0.00021353544434532523, + "z": 0.00018817203817889094 + } + }, + { + "angularDamping": 0, + "angularVelocity": { + "x": 0, + "y": 0.2617993950843811, + "z": 0 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:28:38Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{505fe8c9-4678-43ac-9eaf-c8327c08b02a}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "queryAACube": { + "scale": 0.086602538824081421, + "x": -0.04330126941204071, + "y": -0.04330126941204071, + "z": -0.04330126941204071 + }, + "rotation": { + "w": 0.00035001290962100029, + "x": 0.68673843145370483, + "y": 0.0003638292255345732, + "z": 0.72690451145172119 + }, + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":false},\"hifiHomeKey\":{\"reset\":true}}" + } + ], + "Version": 57 +} diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement3.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement3.json new file mode 100644 index 0000000000..990656eacd --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement3.json @@ -0,0 +1,311 @@ +{ + "Entities": [{ + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{099ee4ce-8cef-4885-b1a5-46c4efc9ec6d}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_block", + "position": { + "x": 0.0489501953125, + "y": 0.074981689453125, + "z": 0.1115264892578125 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.0056489259004592896, + "y": 0.03168042004108429, + "z": 0.06822521984577179 + }, + "rotation": { + "w": 0.28857278823852539, + "x": 0.28886386752128601, + "y": -0.64528524875640869, + "z": 0.64567047357559204 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": -7.4302828579675406e-05, + "y": 0.0010566487908363342, + "z": -0.00053769041551277041 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:30:40Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{83e6f44b-7444-4377-a89e-439a034e6cd3}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.18896484375, + "y": 0.075103759765625, + "z": 0.31917572021484375 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.14566357433795929, + "y": 0.03180249035358429, + "z": 0.27587443590164185 + }, + "rotation": { + "w": 0.00027349172160029411, + "x": 0.89839118719100952, + "y": 0.0002214395790360868, + "z": -0.43919605016708374 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": 0.00010077288607135415, + "y": 0.0014465302228927612, + "z": 2.9299229936441407e-05 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:35:02Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{44f920b7-a2ba-4e65-a30a-27bc127f4570}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.121337890625, + "y": 0.075042724609375, + "z": 0.225860595703125 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.07803662121295929, + "y": 0.03174145519733429, + "z": 0.18255932629108429 + }, + "rotation": { + "w": 0.55899232625961304, + "x": -0.43351781368255615, + "y": 0.4330800473690033, + "z": -0.55859774351119995 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{f1b7be87-97d7-4c28-ba77-c431c3a248a4}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.2723388671875, + "y": 0.07513427734375, + "z": 0.44538116455078125 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.22903759777545929, + "y": 0.03183300793170929, + "z": 0.40207988023757935 + }, + "rotation": { + "w": 0.098181776702404022, + "x": 0.70029288530349731, + "y": 0.70022231340408325, + "z": 0.098178565502166748 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:28:38Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{82c627f6-d296-4ee9-9206-56aa06846013}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.327392578125, + "y": 0.07513427734375, + "z": 0.52436065673828125 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.2840912938117981, + "y": 0.03183300793170929, + "z": 0.48105937242507935 + }, + "rotation": { + "w": 0.68337905406951904, + "x": -0.18168261647224426, + "y": 0.18157178163528442, + "z": -0.68338578939437866 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "dynamic": 0, + "id": "{ae9bb770-d8a5-4a8f-9f07-512347c41fe7}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0238037109375, + "y": 0, + "z": 0.05812835693359375 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.11981035768985748, + "y": -0.14361406862735748, + "z": -0.085485711693763733 + }, + "rotation": { + "w": 7.7116979809943587e-05, + "x": 0.9558948278427124, + "y": 9.8852447990793735e-05, + "z": -0.29370918869972229 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{5dbfa65e-77f6-4646-864c-6ef99387bf21}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0, + "y": 0.074981689453125, + "z": 0 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": -0.04330126941204071, + "y": 0.03168042004108429, + "z": -0.04330126941204071 + }, + "rotation": { + "w": 0.70565086603164673, + "x": -0.70586901903152466, + "y": 0.043502748012542725, + "z": 0.043741695582866669 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:35:02Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "dynamic": 0, + "id": "{be46be67-9288-4eef-97be-1bc501bda8f0}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.1683349609375, + "y": 6.103515625e-05, + "z": 0.2762603759765625 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": 0.024720892310142517, + "y": -0.14355303347110748, + "z": 0.13264630734920502 + }, + "rotation": { + "w": 0.22011587023735046, + "x": 0.67208588123321533, + "y": -0.67190313339233398, + "z": -0.21999000012874603 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:32:51Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "dynamic": 0, + "id": "{eef1688c-5eba-4a57-8ece-39339fee5ffe}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.3221435546875, + "y": 0.000152587890625, + "z": 0.478668212890625 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": 0.17852948606014252, + "y": -0.14346148073673248, + "z": 0.33505415916442871 + }, + "rotation": { + "w": -0.00010969530558213592, + "x": 0.29818582534790039, + "y": 7.1413240220863372e-05, + "z": 0.95450782775878906 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }], + "Version": 57 +} \ No newline at end of file diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement3A.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement3A.json new file mode 100644 index 0000000000..4446c0f23a --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement3A.json @@ -0,0 +1,229 @@ +{ + "Entities": [ + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{68b93994-05ce-49e8-acfc-113439b0016c}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_block", + "position": { + "x": 0.1077880859375, + "y": 0.075286865234375, + "z": 0.0563507080078125 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.06448681652545929, + "y": 0.03198559582233429, + "z": 0.01304943859577179 + }, + "rotation": { + "w": -0.48592910170555115, + "x": -0.48633205890655518, + "y": 0.51336151361465454, + "z": -0.51362788677215576 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:30:40Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{a55936ed-a7bb-4367-a08d-2c35610908ca}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.3470458984375, + "y": 0.075897216796875, + "z": 0.1311492919921875 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.3037446141242981, + "y": 0.03259594738483429, + "z": 0.08784802258014679 + }, + "rotation": { + "w": -0.00018426775932312012, + "x": -0.70232832431793213, + "y": -0.00030004978179931641, + "z": 0.71185272932052612 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:35:02Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{1f6d3b72-8e31-47d7-8306-61722554b8e5}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.23583984375, + "y": 0.075042724609375, + "z": 0.1005401611328125 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.19253857433795929, + "y": 0.03174145519733429, + "z": 0.05723889172077179 + }, + "rotation": { + "w": -0.38409394025802612, + "x": 0.59400159120559692, + "y": -0.5937197208404541, + "z": 0.38357573747634888 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:28:38Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{4f17bcac-91f2-4a0d-ae1d-00c6628ef578}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.583251953125, + "y": 0.07513427734375, + "z": 0.204864501953125 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.5399506688117981, + "y": 0.03183300793170929, + "z": 0.16156323254108429 + }, + "rotation": { + "w": -0.58473116159439087, + "x": 0.39768025279045105, + "y": -0.39757427573204041, + "z": 0.58470022678375244 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{5dfd5f47-3040-4d58-be0d-ce96a2962913}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.490966796875, + "y": 0.07513427734375, + "z": 0.1775970458984375 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.4476655125617981, + "y": 0.03183300793170929, + "z": 0.13429577648639679 + }, + "rotation": { + "w": 0.13917262852191925, + "x": -0.69330555200576782, + "y": -0.69324028491973877, + "z": 0.13919799029827118 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "id": "{a7497e99-914a-4a51-9d96-70198f7bbb0e}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.054931640625, + "y": 0, + "z": 0.03050994873046875 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.088682428002357483, + "y": -0.14361406862735748, + "z": -0.11310411989688873 + }, + "rotation": { + "w": -3.9517879486083984e-05, + "x": -0.80475461483001709, + "y": -0.00011920928955078125, + "z": 0.59360742568969727 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{3167fe1f-5d3e-49a5-aee4-b4a657eb93ff}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0, + "y": 0.074981689453125, + "z": 0 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": -0.04330126941204071, + "y": 0.03168042004108429, + "z": -0.04330126941204071 + }, + "rotation": { + "w": -0.65145671367645264, + "x": 0.65158241987228394, + "y": -0.2746637761592865, + "z": -0.274961918592453 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + } + ], + "Version": 57 +} diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement4.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement4.json new file mode 100644 index 0000000000..6bb6c4067a --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement4.json @@ -0,0 +1,232 @@ +{ + "Entities": [{ + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:30:40Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{973dc65a-0200-4c27-b311-a16632abd336}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.060791015625, + "y": 0.439910888671875, + "z": 0.02478790283203125 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": -0.067563965916633606, + "y": 0.31155592203140259, + "z": -0.10356707870960236 + }, + "rotation": { + "w": -0.36391082406044006, + "x": -0.60559296607971191, + "y": 0.60754096508026123, + "z": 0.3629324734210968 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": -0.00066184467868879437, + "y": 0.00055500119924545288, + "z": -0.0027390613686293364 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "dynamic": 0, + "id": "{ae9bb770-d8a5-4a8f-9f07-512347c41fe7}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0587158203125, + "y": 0, + "z": 0.06317138671875 + }, + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.084898248314857483, + "y": -0.14361406862735748, + "z": -0.080442681908607483 + }, + "rotation": { + "w": 0.62027901411056519, + "x": 0.62011599540710449, + "y": 0.33941084146499634, + "z": -0.33986839652061462 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": 0.0011035117786377668, + "y": 0.00049801170825958252, + "z": -1.9822968170046806e-05 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{fc5d6d27-52b0-4334-b60b-84c27f466f76}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_block", + "position": { + "x": 0, + "y": 0.2999267578125, + "z": 0 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": -0.12990380823612213, + "y": 0.17002294957637787, + "z": -0.12990380823612213 + }, + "rotation": { + "w": -0.18395118415355682, + "x": -0.18451963365077972, + "y": -0.6821141242980957, + "z": 0.68325310945510864 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": 3.076787106692791e-05, + "y": 0.00042589753866195679, + "z": -0.0022651664912700653 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{fa73da33-a242-4384-9795-317caae92c29}", + "modelURL": "atp:/kineticObjects/blocks/planky_red.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0673828125, + "y": 0.149932861328125, + "z": 0.0480499267578125 + }, + "queryAACube": { + "scale": 0.27386128902435303, + "x": -0.069547832012176514, + "y": 0.013002216815948486, + "z": -0.088880717754364014 + }, + "rotation": { + "w": 0.88347971439361572, + "x": -0.00053799827583134174, + "y": 0.46846789121627808, + "z": -0.0010445250663906336 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": 0.0007340551819652319, + "y": -0.00011105835437774658, + "z": -0.0010081863729283214 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{d83f649b-1dfd-4fe3-8f25-b472665ec28a}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.112548828125, + "y": 0.29986572265625, + "z": 0.043243408203125 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": -0.017354980111122131, + "y": 0.16996191442012787, + "z": -0.086660400032997131 + }, + "rotation": { + "w": 0.67243033647537231, + "x": 0.67039400339126587, + "y": -0.22182278335094452, + "z": 0.22181977331638336 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": 0.0043582655489444733, + "y": 0.0005900263786315918, + "z": -0.0029577072709798813 + } + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{f1b7be87-97d7-4c28-ba77-c431c3a248a4}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0489501953125, + "y": 0.4798583984375, + "z": 0.02193450927734375 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.0056489259004592896, + "y": 0.4365571141242981, + "z": -0.02136676013469696 + }, + "rotation": { + "w": 0.049316942691802979, + "x": -0.046750579029321671, + "y": 0.70699954032897949, + "z": 0.7039417028427124 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": -0.0029058775398880243, + "y": 0.00084279477596282959, + "z": -0.0020738139282912016 + } + }], + "Version": 57 +} \ No newline at end of file diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement4A.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement4A.json new file mode 100644 index 0000000000..df74a6aa64 --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement4A.json @@ -0,0 +1,203 @@ +{ + "Entities": [ + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{0aba0660-0991-47ab-b4d7-9c606f553e68}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "parentID": "{9aead5f1-edb1-4e75-a5f4-a121410f2dee}", + "position": { + "x": 0.031455338001251221, + "y": -0.032536625862121582, + "z": -0.48027312755584717 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": 1100.8177490234375, + "y": 461.0120849609375, + "z": -70.972358703613281 + }, + "rotation": { + "w": 0.0023152828216552734, + "x": -0.53879290819168091, + "y": 0.84243488311767578, + "z": -0.0008878018707036972 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{421d62c3-e5e5-4e51-9b14-46ce25a5cb11}", + "modelURL": "atp:/kineticObjects/blocks/planky_red.fbx", + "name": "home_model_blocky_block", + "parentID": "{9aead5f1-edb1-4e75-a5f4-a121410f2dee}", + "position": { + "x": 0.017628543078899384, + "y": -0.0010632872581481934, + "z": -0.14994476735591888 + }, + "queryAACube": { + "scale": 0.82158386707305908, + "x": 1100.5284423828125, + "y": 460.40087890625, + "z": -71.226631164550781 + }, + "rotation": { + "w": 0.70702850818634033, + "x": -0.70705664157867432, + "y": -0.010112389922142029, + "z": 0.0089319320395588875 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{95792255-7fa6-4936-bb51-ce2f945dd5b9}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_block", + "parentID": "{9aead5f1-edb1-4e75-a5f4-a121410f2dee}", + "position": { + "x": 0.023592084646224976, + "y": -0.084929108619689941, + "z": -0.29993364214897156 + }, + "queryAACube": { + "scale": 0.77942287921905518, + "x": 1100.482421875, + "y": 460.57196044921875, + "z": -71.256011962890625 + }, + "rotation": { + "w": -0.69225782155990601, + "x": -0.00045704841613769531, + "y": 0.00031775236129760742, + "z": 0.72165042161941528 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{4c3ba7ac-2122-4402-a05d-f70a32bfd9d8}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_blocky_block", + "parentID": "{9aead5f1-edb1-4e75-a5f4-a121410f2dee}", + "position": { + "x": 0.05141855776309967, + "y": 0.034773021936416626, + "z": -0.29993501305580139 + }, + "queryAACube": { + "scale": 0.77942287921905518, + "x": 1100.59814453125, + "y": 460.57192993164062, + "z": -71.214653015136719 + }, + "rotation": { + "w": 0.68213790655136108, + "x": -0.0010509714484214783, + "y": -0.00042241811752319336, + "z": 0.73122292757034302 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:30:40Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{f04a15fe-4482-44f0-8b63-46ff8aa7538c}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "parentID": "{9aead5f1-edb1-4e75-a5f4-a121410f2dee}", + "position": { + "x": 0.036200806498527527, + "y": -0.020915478467941284, + "z": -0.43993330001831055 + }, + "queryAACube": { + "scale": 0.77012991905212402, + "x": 1100.5477294921875, + "y": 460.71658325195312, + "z": -71.227401733398438 + }, + "rotation": { + "w": -0.51840746402740479, + "x": -0.47963690757751465, + "y": 0.51959860324859619, + "z": -0.48085314035415649 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "angularDamping": 0, + "angularVelocity": { + "x": 0, + "y": -0.2617993950843811, + "z": 0 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:33:00Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, + "id": "{9aead5f1-edb1-4e75-a5f4-a121410f2dee}", + "modelURL": "atp:/kineticObjects/blocks/planky_green.fbx", + "name": "home_model_blocky_block", + "queryAACube": { + "scale": 0.28722813725471497, + "x": -0.14361406862735748, + "y": -0.14361406862735748, + "z": -0.14361406862735748 + }, + "rotation": { + "w": 0.2521953284740448, + "x": 0.2517753541469574, + "y": 0.66056090593338013, + "z": -0.66080713272094727 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + } + ], + "Version": 57 +} diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement5.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement5.json new file mode 100644 index 0000000000..d04f78b106 --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement5.json @@ -0,0 +1,254 @@ +{ + "Entities": [ + { + "angularVelocity": { + "x": -0.0058977864682674408, + "y": 0.012016458436846733, + "z": -0.019001182168722153 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{5dbfa65e-77f6-4646-864c-6ef99387bf21}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.118896484375, + "y": 0.261627197265625, + "z": 0.5547332763671875 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.07559521496295929, + "y": 0.21832592785358429, + "z": 0.5114319920539856 + }, + "rotation": { + "w": 0.25579428672790527, + "x": 0.659473717212677, + "y": 0.65893793106079102, + "z": 0.25586038827896118 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": 0.0021444200538098812, + "y": 0.0011220350861549377, + "z": 0.0011650724336504936 + } + }, + { + "angularVelocity": { + "x": 0.0021077222190797329, + "y": 0.0096995644271373749, + "z": -0.00475650979205966 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{18d0fe48-f5af-4baa-bc76-fd02b2cf507b}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_block", + "position": { + "x": 0.1376953125, + "y": 0.11163330078125, + "z": 0.54648590087890625 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": 0.0077915042638778687, + "y": -0.018270507454872131, + "z": 0.41658210754394531 + }, + "rotation": { + "w": -0.16635751724243164, + "x": -0.16560617089271545, + "y": 0.68745934963226318, + "z": -0.68724048137664795 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{f61afc15-4813-4306-8db2-6fb9dc3baf33}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.2005615234375, + "y": 0.111602783203125, + "z": 0.3127593994140625 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": 0.072206541895866394, + "y": -0.016752198338508606, + "z": 0.18440441787242889 + }, + "rotation": { + "w": 0.5063401460647583, + "x": 0.5066148042678833, + "y": 0.4936140775680542, + "z": -0.4932173490524292 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "angularVelocity": { + "x": 0.0085022579878568649, + "y": 8.5791980382055044e-05, + "z": -0.0055606141686439514 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:59:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic": 0, + "id": "{050ba484-bd34-4819-a860-776f8d865a76}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0, + "y": 0.261627197265625, + "z": 0.6636199951171875 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": -0.04330126941204071, + "y": 0.21832592785358429, + "z": 0.6203187108039856 + }, + "rotation": { + "w": -0.11174160987138748, + "x": 0.6981397271156311, + "y": 0.69834953546524048, + "z": -0.11145715415477753 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": 0.00021521201415453106, + "y": 0.0007597804069519043, + "z": 0.0016687994357198477 + } + }, + { + "angularVelocity": { + "x": 0.10312929749488831, + "y": 0.02031000517308712, + "z": 0.17793627083301544 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "dynamic":0, + "id": "{0a801214-14b7-4059-828a-61f18250a315}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.1876220703125, + "y": 0, + "z": 0 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.14432080090045929, + "y": -0.04330126941204071, + "z": -0.04330126941204071 + }, + "rotation": { + "w": 0.38613453507423401, + "x": 0.27518847584724426, + "y": 0.11528003960847855, + "z": 0.87285858392715454 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": -0.0028362239245325327, + "y": 0.0032131313346326351, + "z": 0.0032204082235693932 + } + }, + { + "angularVelocity": { + "x": 0.0060502123087644577, + "y": -0.0002331961877644062, + "z": -0.0040579927153885365 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:32:51Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{c0abdb26-3e55-422f-811a-306239ec4894}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0091552734375, + "y": 0.11163330078125, + "z": 0.663543701171875 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": -0.12074853479862213, + "y": -0.018270507454872131, + "z": 0.53363990783691406 + }, + "rotation": { + "w": 0.38818395137786865, + "x": -0.38840728998184204, + "y": 0.5908893346786499, + "z": 0.59101837873458862 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}", + "velocity": { + "x": 0.00010580161324469373, + "y": 0.00069457292556762695, + "z": 0.00075469817966222763 + } + } + ], + "Version": 57 +} diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement5B.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement5B.json new file mode 100644 index 0000000000..634f1e6858 --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement5B.json @@ -0,0 +1,203 @@ +{ + "Entities": [ + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{e9a7eb61-bdfe-484d-963a-fdae21bc12e7}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "parentID": "{f9f90ed5-6a9e-45c1-99e2-db2ba28f12c2}", + "position": { + "x": -0.16834764182567596, + "y": 0.17657718062400818, + "z": -0.14808396995067596 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": 1102.9293212890625, + "y": 460.51165771484375, + "z": -70.490364074707031 + }, + "rotation": { + "w": -0.72276210784912109, + "x": -0.67909777164459229, + "y": 0.11672055721282959, + "z": 0.054192394018173218 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:59:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{242a2da8-26e9-439f-a6bd-a5174d68b791}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "parentID": "{f9f90ed5-6a9e-45c1-99e2-db2ba28f12c2}", + "position": { + "x": 0.17733007669448853, + "y": -0.041430100798606873, + "z": -0.14965415000915527 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": 1102.8548583984375, + "y": 460.51361083984375, + "z": -70.082504272460938 + }, + "rotation": { + "w": 0.45803076028823853, + "x": -0.54004138708114624, + "y": 0.45782959461212158, + "z": 0.53765928745269775 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{8d10e070-80b5-41a1-a98d-2fb60a73f98c}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "parentID": "{f9f90ed5-6a9e-45c1-99e2-db2ba28f12c2}", + "position": { + "x": -0.16358290612697601, + "y": 0.17843163013458252, + "z": 7.3954463005065918e-05 + }, + "queryAACube": { + "scale": 0.77012991905212402, + "x": 1102.6942138671875, + "y": 460.10836791992188, + "z": -70.743125915527344 + }, + "rotation": { + "w": 0.50793719291687012, + "x": -0.0007769167423248291, + "y": -0.0016511008143424988, + "z": 0.86144548654556274 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:32:51Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{96880a75-218a-485b-91d3-be9741f320ed}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_blocky_block", + "parentID": "{f9f90ed5-6a9e-45c1-99e2-db2ba28f12c2}", + "position": { + "x": 0.16807788610458374, + "y": -0.044651858508586884, + "z": 0.00034449249505996704 + }, + "queryAACube": { + "scale": 0.77942287921905518, + "x": 1102.57421875, + "y": 460.10379028320312, + "z": -70.363555908203125 + }, + "rotation": { + "w": -0.00017070770263671875, + "x": -0.68149137496948242, + "y": -0.73185545206069946, + "z": -0.0021193623542785645 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{0fdd72df-a5f5-4f9c-b3ec-b79bc606b356}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "parentID": "{f9f90ed5-6a9e-45c1-99e2-db2ba28f12c2}", + "position": { + "x": 0.02161325141787529, + "y": 0.0003502964973449707, + "z": -0.14994175732135773 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": 1102.9146728515625, + "y": 460.51358032226562, + "z": -70.236610412597656 + }, + "rotation": { + "w": 0.12661613523960114, + "x": -0.68729931116104126, + "y": 0.1313164234161377, + "z": 0.70317196846008301 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "angularDamping": 0, + "angularVelocity": { + "x": 0, + "y": -0.2617993950843811, + "z": 0 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{f9f90ed5-6a9e-45c1-99e2-db2ba28f12c2}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_block", + "queryAACube": { + "scale": 0.25980761647224426, + "x": -0.12990380823612213, + "y": -0.12990380823612213, + "z": -0.12990380823612213 + }, + "rotation": { + "w": 0.21236260235309601, + "x": 0.20996685326099396, + "y": -0.67540425062179565, + "z": 0.67427384853363037 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + } + ], + "Version": 57 +} diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement5a.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement5a.json new file mode 100644 index 0000000000..3d12988bbc --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement5a.json @@ -0,0 +1,197 @@ +{ + "Entities": [ + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{e5dcde81-ec21-49cd-bfc1-47a04678d620}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.118896484375, + "y": 0.1500244140625, + "z": 0.24393463134765625 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.07559521496295929, + "y": 0.10672314465045929, + "z": 0.20063336193561554 + }, + "rotation": { + "w": 0.25630581378936768, + "x": 0.66857409477233887, + "y": 0.65368127822875977, + "z": 0.24492251873016357 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:32:51Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{ecbc77d5-b578-453c-b502-f4b7331c9088}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0091552734375, + "y": 3.0517578125e-05, + "z": 0.35125732421875 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": -0.12074853479862213, + "y": -0.12987329065799713, + "z": 0.22135351598262787 + }, + "rotation": { + "w": 0.38817429542541504, + "x": -0.38844889402389526, + "y": 0.59087514877319336, + "z": 0.59099721908569336 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{35d2e036-2cfa-4e62-8cb7-81beda65963d}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.2061767578125, + "y": 0.148101806640625, + "z": 0 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": 0.16287548840045929, + "y": 0.10480053722858429, + "z": -0.04330126941204071 + }, + "rotation": { + "w": -0.034055888652801514, + "x": 0.35255527496337891, + "y": -0.041519246995449066, + "z": 0.93420767784118652 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:59:13Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.05000000074505806 + }, + "id": "{e7edf689-89c9-4daf-b5e0-38c330f34c6e}", + "modelURL": "atp:/kineticObjects/blocks/planky_natural.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0, + "y": 0.1500244140625, + "z": 0.3527984619140625 + }, + "queryAACube": { + "scale": 0.086602538824081421, + "x": -0.04330126941204071, + "y": 0.10672314465045929, + "z": 0.3094971776008606 + }, + "rotation": { + "w": -0.11314564943313599, + "x": 0.69872581958770752, + "y": 0.69771873950958252, + "z": -0.11012434959411621 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:46:06Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{764c37c5-892f-41b4-8a34-8e13561726f7}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.2005615234375, + "y": 0, + "z": 0.00042724609375 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": 0.072206541895866394, + "y": -0.12835498154163361, + "z": -0.12792773544788361 + }, + "rotation": { + "w": 0.5063401460647583, + "x": 0.5066148042678833, + "y": 0.4936140775680542, + "z": -0.4932783842086792 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{8b4d7620-0303-447c-815c-ed5a90ba33b3}", + "modelURL": "atp:/kineticObjects/blocks/planky_blue.fbx", + "name": "home_model_block", + "position": { + "x": 0.1376953125, + "y": 3.0517578125e-05, + "z": 0.23415374755859375 + }, + "queryAACube": { + "scale": 0.25980761647224426, + "x": 0.0077915042638778687, + "y": -0.12987329065799713, + "z": 0.10424993932247162 + }, + "rotation": { + "w": -0.16896313428878784, + "x": -0.16664379835128784, + "y": 0.68758678436279297, + "z": -0.68624401092529297 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + } + ], + "Version": 57 +} diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement6.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement6.json new file mode 100644 index 0000000000..17c88e8308 --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement6.json @@ -0,0 +1,238 @@ +{ + "Entities": [{ + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:32:51Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{845bc4f0-f59b-4826-9910-e92ab0a82eca}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.118896484375, + "y": 6.103515625e-05, + "z": 0.16530609130859375 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": -0.009458497166633606, + "y": -0.12829394638538361, + "z": 0.036951109766960144 + }, + "rotation": { + "w": 0.37096202373504639, + "x": -0.37190812826156616, + "y": 0.60173952579498291, + "z": 0.60161745548248291 + }, + "dynamic": 0, + + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T21:28:38Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{1af7f363-a1e4-4f2b-94af-fc8c592769e8}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.34423828125, + "y": 0.000152587890625, + "z": 0.4805755615234375 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": 0.21588329970836639, + "y": -0.12820239365100861, + "z": 0.35222059488296509 + }, + "rotation": { + "w": 0.66173803806304932, + "x": 0.66201269626617432, + "y": -0.24910354614257812, + "z": 0.24846267700195312 + }, + "dynamic": 0, + + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:30:40Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{f05ff17b-a9ef-4b67-9f1e-a0cdbac1d73a}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.1954345703125, + "y": 9.1552734375e-05, + "z": 0.2958984375 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": 0.067079588770866394, + "y": -0.12826342880725861, + "z": 0.16754345595836639 + }, + "rotation": { + "w": 0.61269545555114746, + "x": 0.61297011375427246, + "y": -0.35289537906646729, + "z": 0.35259020328521729 + }, + "dynamic": 0, + + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + + "id": "{d501c4f4-5ace-4337-a694-bf08230fd3ff}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.238037109375, + "y": 9.1552734375e-05, + "z": 0.35927581787109375 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": 0.10968212783336639, + "y": -0.12826342880725861, + "z": 0.23092083632946014 + }, + "rotation": { + "w": 0.61916530132293701, + "x": -0.61983668804168701, + "y": -0.34154266119003296, + "z": -0.34023040533065796 + }, + "dynamic": 0, + + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:32:51Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{b18bd985-1db5-40cf-b53b-d8765fac9112}", + "modelURL": "atp:/kineticObjects/blocks/planky_red.fbx", + "name": "home_model_blocky_block", + "queryAACube": { + "scale": 0.27386128902435303, + "x": -0.13693064451217651, + "y": -0.13693064451217651, + "z": -0.13693064451217651 + }, + "rotation": { + "w": 0.67776000499725342, + "x": 0.67730224132537842, + "y": 0.20234990119934082, + "z": -0.20231938362121582 + }, + "dynamic": 0, + + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:30:40Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{0284ad28-9e2b-45f5-91b0-e00da9238b41}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "position": { + "x": 0.0765380859375, + "y": 3.0517578125e-05, + "z": 0.09934234619140625 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": -0.051816895604133606, + "y": -0.12832446396350861, + "z": -0.029012635350227356 + }, + "rotation": { + "w": 0.65304040908813477, + "x": -0.65294879674911499, + "y": -0.271351158618927, + "z": -0.271198570728302 + }, + "dynamic": 0, + + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "collisionsWillMove": 1, + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "dynamic": 0, + "id": "{7090697d-bf3c-4edc-9090-0ef7e313151b}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_block", + "position": { + "x": 0.4200439453125, + "y": 0.00018310546875, + "z": 0.53116607666015625 + }, + "queryAACube": { + "scale": 0.25670996308326721, + "x": 0.29168897867202759, + "y": -0.12817187607288361, + "z": 0.40281111001968384 + }, + "rotation": { + "w": 0.66921496391296387, + "x": 0.66921496391296387, + "y": -0.22810709476470947, + "z": 0.22853434085845947 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + }], + "Version": 57 +} \ No newline at end of file diff --git a/unpublishedScripts/DomainContent/Home/blocky/arrangement6B.json b/unpublishedScripts/DomainContent/Home/blocky/arrangement6B.json new file mode 100644 index 0000000000..edced193a8 --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/arrangement6B.json @@ -0,0 +1,236 @@ +{ + "Entities": [ + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:37:13Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{5692ed0d-52ae-4bd9-8ef6-13a3d28dbcec}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "parentID": "{8c29606d-b071-4793-a5d5-26453bb12bf4}", + "position": { + "x": 0.076191246509552002, + "y": -0.0050119552761316299, + "z": -4.275888204574585e-05 + }, + "queryAACube": { + "scale": 0.77012991905212402, + "x": 1104.9146728515625, + "y": 460.09011840820312, + "z": -69.708526611328125 + }, + "rotation": { + "w": -3.1195580959320068e-05, + "x": -0.99968332052230835, + "y": 0.019217833876609802, + "z": 0.0013828873634338379 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:28:29Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{41fdce7a-5c15-4335-a7d4-e6e42c419edb}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_block", + "parentID": "{8c29606d-b071-4793-a5d5-26453bb12bf4}", + "position": { + "x": 0.31622248888015747, + "y": -0.076068185269832611, + "z": -0.00023670494556427002 + }, + "queryAACube": { + "scale": 0.77012991905212402, + "x": 1104.552734375, + "y": 460.09014892578125, + "z": -69.711776733398438 + }, + "rotation": { + "w": 0.9812014102935791, + "x": 2.8990209102630615e-05, + "y": 0.00053216516971588135, + "z": -0.19223560392856598 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:30:40Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{376ea748-6b7b-4ac4-9194-b0f118ac39dd}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "parentID": "{8c29606d-b071-4793-a5d5-26453bb12bf4}", + "position": { + "x": -0.22965218126773834, + "y": 0.0041047781705856323, + "z": 0.00015974044799804688 + }, + "queryAACube": { + "scale": 0.77012991905212402, + "x": 1105.10009765625, + "y": 460.09011840820312, + "z": -69.742721557617188 + }, + "rotation": { + "w": -7.3388218879699707e-06, + "x": -0.99162417650222778, + "y": 0.1281534731388092, + "z": 0.00039628148078918457 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T21:28:38Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{d1359425-9129-4827-b881-e4802703a0ca}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "parentID": "{8c29606d-b071-4793-a5d5-26453bb12bf4}", + "position": { + "x": 0.23440317809581757, + "y": -0.035929545760154724, + "z": -0.00016139447689056396 + }, + "queryAACube": { + "scale": 0.77012991905212402, + "x": 1104.6361083984375, + "y": 460.09011840820312, + "z": -69.792564392089844 + }, + "rotation": { + "w": 0.986641526222229, + "x": -0.00016996264457702637, + "y": -0.00021627545356750488, + "z": -0.16198150813579559 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:32:51Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{11b3c61c-abe3-48ac-9033-3f88d3efee00}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "parentID": "{8c29606d-b071-4793-a5d5-26453bb12bf4}", + "position": { + "x": -0.15134727954864502, + "y": 0.00060278922319412231, + "z": 0.00011575222015380859 + }, + "queryAACube": { + "scale": 0.77012991905212402, + "x": 1104.79541015625, + "y": 460.090087890625, + "z": -69.902366638183594 + }, + "rotation": { + "w": -0.00098252296447753906, + "x": -0.030791401863098145, + "y": 0.99939167499542236, + "z": 0.0002511441707611084 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:32:51Z", + "dimensions": { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{15c3aeae-1166-4cff-aa53-d732f20a1203}", + "modelURL": "atp:/kineticObjects/blocks/planky_red.fbx", + "name": "home_model_blocky_block", + "parentID": "{8c29606d-b071-4793-a5d5-26453bb12bf4}", + "position": { + "x": -0.35397925972938538, + "y": 0.020401254296302795, + "z": 0.00025978684425354004 + }, + "queryAACube": { + "scale": 0.82158386707305908, + "x": 1105.195068359375, + "y": 460.06436157226562, + "z": -69.863059997558594 + }, + "rotation": { + "w": 0.68755638599395752, + "x": -0.00055142492055892944, + "y": 0.00033529102802276611, + "z": -0.72594141960144043 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + }, + { + "angularDamping": 0, + "angularVelocity": { + "x": 0, + "y": -0.2617993950843811, + "z": 0 + }, + "collisionSoundURL": "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + "created": "2016-05-09T19:30:40Z", + "dimensions": { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + }, + "id": "{8c29606d-b071-4793-a5d5-26453bb12bf4}", + "modelURL": "atp:/kineticObjects/blocks/planky_yellow.fbx", + "name": "home_model_blocky_block", + "queryAACube": { + "scale": 0.25670996308326721, + "x": -0.12835498154163361, + "y": -0.12835498154163361, + "z": -0.12835498154163361 + }, + "rotation": { + "w": 0.097722500562667847, + "x": 0.097280360758304596, + "y": 0.70029336214065552, + "z": -0.70041131973266602 + }, + "shapeType": "box", + "type": "Model", + "userData": "{\"grabbableKey\":{\"grabbable\":true},\"hifiHomeKey\":{\"reset\":true}}" + } + ], + "Version": 57 +} diff --git a/unpublishedScripts/DomainContent/Home/blocky/blocky.js b/unpublishedScripts/DomainContent/Home/blocky/blocky.js new file mode 100644 index 0000000000..c9dc0a0678 --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/blocky.js @@ -0,0 +1,227 @@ +// this script creates a pile of playable blocks and displays a target arrangement when you trigger it + +var BLOCK_RED = { + url: 'atp:/kineticObjects/blocks/planky_red.fbx', + dimensions: { + "x": 0.10000000149011612, + "y": 0.05000000074505806, + "z": 0.25 + } +}; +var BLOCK_BLUE = { + url: 'atp:/kineticObjects/blocks/planky_blue.fbx', + dimensions: { + "x": 0.05000000074505806, + "y": 0.05000000074505806, + "z": 0.25 + }, +}; +var BLOCK_YELLOW = { + url: 'atp:/kineticObjects/blocks/planky_yellow.fbx', + dimensions: { + "x": 0.029999999329447746, + "y": 0.05000000074505806, + "z": 0.25 + } +}; +var BLOCK_GREEN = { + url: 'atp:/kineticObjects/blocks/planky_green.fbx', + dimensions: { + "x": 0.10000000149011612, + "y": 0.10000000149011612, + "z": 0.25 + }, +}; +var BLOCK_NATURAL = { + url: "atp:/kineticObjects/blocks/planky_natural.fbx", + dimensions: { + "x": 0.05, + "y": 0.05, + "z": 0.05 + } +}; + +var blocks = [ + BLOCK_RED, BLOCK_BLUE, BLOCK_YELLOW, BLOCK_GREEN, BLOCK_SMALL_CUBE +]; + +var arrangements = [{ + name: 'tall', + blocks: [BLOCK_GREEN, BLOCK_GREEN, BLOCK_GREEN, ], + target: Script.resolvePath("arrangement1.json") +}, { + name: 'ostrich', + blocks: [BLOCK_RED, BLOCK_RED, BLOCK_GREEN, BLOCK_YELLOW, BLOCK_NATURAL], + target: Script.resolvePath("arrangement2.json") +}, { + name: 'froglog', + blocks: [BLOCK_GREEN, BLOCK_GREEN, BLOCK_GREEN, BLOCK_NATURAL, BLOCK_NATURAL, BLOCK_NATURAL, BLOCK_NATURAL, BLOCK_NATURAL, BLOCK_NATURAL], + target: Script.resolvePath("arrangement3.json") +}, { + name: 'allOneLeg', + blocks: [BLOCK_RED, BLOCK_GREEN, BLOCK_YELLOW, BLOCK_BLUE, BLOCK_BLUE, BLOCK_NATURAL], + target: Script.resolvePath("arrangement4.json") +}, { + name: 'threeppl', + blocks: [BLOCK_BLUE BLOCK_YELLOW, BLOCK_BLUE, BLOCK_NATURAL, BLOCK_NATURAL, BLOCK_NATURAL], + target: Script.resolvePath("arrangement5.json") +}, { + name: 'dominoes', + blocks: [BLOCK_RED, BLOCK_YELLOW, BLOCK_YELLOW, BLOCK_YELLOW, BLOCK_YELLOW, BLOCK_YELLOW, BLOCK_YELLOW], + target: Script.resolvePath("arrangement6.json") +}] + +var PLAYABLE_BLOCKS_POSITION = { + x: 1097.6, + y: 460.5, + z: -66.22 +}; + +var TARGET_BLOCKS_POSITION = { + x: 1096.82, + y: 460.5, + z: -67.689 +}; + +(function() { + //#debug + print('BLOCK ENTITY SCRIPT') + var _this; + + function Blocky() { + _this = this; + } + + Blocky.prototype = { + debug: true, + playableBlocks: [], + targetBlocks: [], + preload: function(entityID) { + print('BLOCKY preload') + this.entityID = entityID; + }, + createTargetBlocks: function(arrangement) { + var created = []; + print('BLOCKY create target blocks') + + var created = []; + var success = Clipboard.importEntities(arrangement.target); + if (success === true) { + created = Clipboard.pasteEntities(TARGET_BLOCKS_POSITION) + print('created ' + created); + } + + this.targetBlocks = created; + print('BLOCKY TARGET BLOCKS:: ' + this.targetBlocks); + }, + createPlayableBlocks: function(arrangement) { + print('BLOCKY creating playable blocks'); + arrangement.blocks.forEach(function(block) { + var blockProps = { + name: "home_model_blocky_block", + type: 'Model', + collisionSoundURL: "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + dynamic: true, + gravity: { + x: 0, + y: -9.8, + z: 0 + }, + userData: JSON.stringify({ + grabbableKey: { + grabbable: true + }, + hifiHomeKey: { + reset: true + } + }), + dimensions: block.dimensions, + modelURL: block.url, + shapeType: 'box', + velocity: { + x: 0, + y: -0.01, + z: 0, + }, + position: PLAYABLE_BLOCKS_POSITION + } + this.playableBlocks.push(Entities.addEntity(blockProps)); + + }) + }, + startNearTrigger: function() { + print('BLOCKY got a near trigger'); + this.advanceRound(); + }, + advanceRound: function() { + print('BLOCKY advance round'); + this.cleanup(); + var arrangement = arrangements[Math.floor(Math.random() * arrangements.length)]; + this.createTargetBlocks(arrangement); + + if (this.debug === true) { + this.debugCreatePlayableBlocks(); + } else { + this.createPlayableBlocks(arrangement); + + } + }, + cleanup: function() { + print('BLOCKY cleanup'); + this.targetBlocks.forEach(function(block) { + Entities.deleteEntity(block); + }); + this.playableBlocks.forEach(function(block) { + Entities.deleteEntity(block); + }); + this.targetBlocks = []; + this.playableBlocks = []; + }, + debugCreatePlayableBlocks: function() { + print('BLOCKY debug create'); + var howMany = 10; + var i; + for (i = 0; i < howMany; i++) { + var block = blocks[Math.floor(Math.random() * blocks.length)]; + var blockProps = { + name: "home_model_blocky_block", + type: 'Model', + collisionSoundURL: "atp:/kineticObjects/blocks/ToyWoodBlock.L.wav", + dynamic: true, + gravity: { + x: 0, + y: -9.8, + z: 0 + }, + userData: JSON.stringify({ + grabbableKey: { + grabbable: true + }, + hifiHomeKey: { + reset: true + } + }), + dimensions: block.dimensions, + modelURL: block.url, + shapeType: 'box', + velocity: { + x: 0, + y: -0.01, + z: 0, + }, + position: PLAYABLE_BLOCKS_POSITION + } + this.playableBlocks.push(Entities.addEntity(blockProps)); + } + }, + unload: function() { + this.cleanup(); + }, + clickReleaseOnEntity: function() { + print('BLOCKY click') + this.startNearTrigger(); + } + } + + return new Blocky(); +}) \ No newline at end of file diff --git a/unpublishedScripts/DomainContent/Home/blocky/singleSpawner.js b/unpublishedScripts/DomainContent/Home/blocky/singleSpawner.js new file mode 100644 index 0000000000..823d9ea67a --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/singleSpawner.js @@ -0,0 +1,27 @@ +// +// +// Created by The Content Team 4/10/216 +// Copyright 2016 High Fidelity, Inc. +// +// +// +// Distributed under the Apache License, Version 2.0. +// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html +// + +var blockyPath = Script.resolvePath('wrapper.js?'+Math.random()); +Script.include(blockyPath); +var center = Vec3.sum(Vec3.sum(MyAvatar.position, { + x: 0, + y: 0.5, + z: 0 +}), Vec3.multiply(1, Quat.getFront(Camera.getOrientation()))); +var blocky = new BlockyGame(center, { + x: 0, + y: 0, + z: 0 +}); + +Script.scriptEnding.connect(function() { + blocky.cleanup() +}) \ No newline at end of file diff --git a/unpublishedScripts/DomainContent/Home/blocky/wrapper.js b/unpublishedScripts/DomainContent/Home/blocky/wrapper.js new file mode 100644 index 0000000000..140c0753db --- /dev/null +++ b/unpublishedScripts/DomainContent/Home/blocky/wrapper.js @@ -0,0 +1,61 @@ +// createPingPongGun.js +// +// Script Type: Entity Spawner +// Created by James B. Pollack on 9/30/2015 +// Copyright 2015 High Fidelity, Inc. +// +// This script creates a gun that shoots ping pong balls when you pull the trigger on a hand controller. +// Distributed under the Apache License, Version 2.0. +// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html +// + + +var RESETTER_POSITION = { + x: 1098.27, + y: 460.43, + z: -66.15 +}; + +BlockyGame = function(spawnPosition, spawnRotation) { + + var scriptURL = Script.resolvePath("blocky.js?" + Math.random()); + print('SCIRPT?!?' + scriptURL) + + var blockyProps = { + type: 'Box', + name:'home_box_blocky_resetter', + color: { + red: 0, + green: 0, + blue: 255 + }, + dimensions: { + x: 0.25, + y: 0.25, + z: 0.25 + }, + script: scriptURL, + userData: JSON.stringify({ + "grabbableKey": { + "wantsTrigger": true + }, + 'hifiHomeKey': { + 'reset': true + } + }), + dynamic: false, + position: spawnPosition + }; + + var blocky = Entities.addEntity(blockyProps); + + function cleanup() { + print('BLOCKY CLEANUP!') + Entities.deleteEntity(blocky); + } + + this.cleanup = cleanup; + + print('HOME CREATED BLOCKY GAME BLOCK 1') + +} \ No newline at end of file