mirror of
https://github.com/lubosz/overte.git
synced 2025-04-29 20:43:12 +02:00
596 lines
19 KiB
JavaScript
596 lines
19 KiB
JavaScript
Step1EntityData = [
|
|
{
|
|
"clientOnly": 0,
|
|
"color": {
|
|
"blue": 255,
|
|
"green": 0,
|
|
"red": 255
|
|
},
|
|
"created": "2016-08-29T22:57:55Z",
|
|
"dimensions": {
|
|
"x": 0.018359377980232239,
|
|
"y": 0.018359377980232239,
|
|
"z": 0.018359377980232239
|
|
},
|
|
"id": "{3bb83d9c-11db-4bc1-a61b-36921370cb40}",
|
|
"name": "tutorial/box_spawn",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"collisionless": 1,
|
|
"position": {
|
|
"x": 0,
|
|
"y": 0.8,
|
|
"z": 0.7790381908416748
|
|
},
|
|
"queryAACube": {
|
|
"scale": 0.031799376010894775,
|
|
"x": -0.015899688005447388,
|
|
"y": 0.79706859588623047,
|
|
"z": 0.7631385326385498
|
|
},
|
|
"rotation": {
|
|
"w": 1,
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"shape": "Cube",
|
|
"type": "Box",
|
|
"userData": "{\"tag\":\"step2\"}",
|
|
"visible": 0
|
|
},
|
|
{
|
|
"color": {
|
|
"blue": 181,
|
|
"green": 181,
|
|
"red": 181
|
|
},
|
|
"dimensions": {
|
|
"x": 0.37322089076042175,
|
|
"y": 0.8015166997909546,
|
|
"z": 0.37322089076042175
|
|
},
|
|
"name": "tutorial/pillar2",
|
|
//"shapeType": "simple-hull",
|
|
"position": {
|
|
"x": 0.019208565354347229,
|
|
"y": -0.1,
|
|
"z": 0.75276124477386475
|
|
},
|
|
"rotation": {
|
|
"w": 1,
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"shape": "Cube",
|
|
"type": "Box",
|
|
"userData": "{\"tag\":\"step2\"}"
|
|
},
|
|
{
|
|
"clientOnly": 0,
|
|
"compoundShapeURL": "http://hifi-content.s3.amazonaws.com/alan/dev/Trash-Can-4.obj",
|
|
"created": "2016-08-29T22:57:55Z",
|
|
"dimensions": {
|
|
"x": 0.57461458444595337,
|
|
"y": 0.35781359672546387,
|
|
"z": 0.57461458444595337
|
|
},
|
|
"gravity": {
|
|
"x": 0,
|
|
"y": -5,
|
|
"z": 0
|
|
},
|
|
"id": "{2a8a9cb8-4501-4089-8fb8-6b1b5100db10}",
|
|
"modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/Trach-Can-3.fbx",
|
|
"name": "tutorial/basket",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"position": {
|
|
"x": 0.022034257650375366,
|
|
"y": 0.47968916893005371,
|
|
"z": 0
|
|
},
|
|
"queryAACube": {
|
|
"scale": 0.88791579008102417,
|
|
"x": -0.42192363739013672,
|
|
"y": 0.23573127388954163,
|
|
"z": -0.44395789504051208
|
|
},
|
|
"rotation": {
|
|
"w": 1,
|
|
"x": -1.52587890625e-05,
|
|
"y": -1.52587890625e-05,
|
|
"z": -1.52587890625e-05
|
|
},
|
|
"shapeType": "compound",
|
|
"type": "Model",
|
|
"userData": "{\"hifiHomeKey\":{\"reset\":true},\"tag\":\"step2\"}"
|
|
},
|
|
{
|
|
"clientOnly": 0,
|
|
"collisionless": 1,
|
|
"color": {
|
|
"blue": 255,
|
|
"green": 0,
|
|
"red": 255
|
|
},
|
|
"created": "2016-08-29T22:57:55Z",
|
|
"dimensions": {
|
|
"x": 0.43770244717597961,
|
|
"y": 0.33723857998847961,
|
|
"z": 0.43770244717597961
|
|
},
|
|
"id": "{436aec80-15e8-4fc3-bd74-f173b731a922}",
|
|
"ignoreForCollisions": 1,
|
|
"name": "tutorial/basket_collider",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"position": {
|
|
"x": 0.02785143256187439,
|
|
"y": 0.50166182518005371,
|
|
"z": 0.0017895996570587158
|
|
},
|
|
"queryAACube": {
|
|
"scale": 0.70490902662277222,
|
|
"x": -0.32460308074951172,
|
|
"y": 0.3492073118686676,
|
|
"z": -0.35066491365432739
|
|
},
|
|
"rotation": {
|
|
"w": 1,
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"type": "Sphere",
|
|
"userData": "{\"tag\":\"step2\"}",
|
|
"visible": 0
|
|
},
|
|
{
|
|
"clientOnly": 0,
|
|
"color": {
|
|
"blue": 181,
|
|
"green": 181,
|
|
"red": 181
|
|
},
|
|
"created": "2016-08-29T22:57:55Z",
|
|
"dimensions": {
|
|
"x": 0.37322089076042175,
|
|
"y": 0.8015000104904175,
|
|
"z": 0.37322089076042175
|
|
},
|
|
"id": "{221be6c2-e0d6-4a7c-b9d4-a77e6b7d1c9a}",
|
|
"name": "tutorial/pillar1",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"position": {
|
|
"x": 0.019208565354347229,
|
|
"y": -0.1,
|
|
"z": 0.025902509689331055
|
|
},
|
|
"queryAACube": {
|
|
"scale": 1.1320732831954956,
|
|
"x": -0.54682809114456177,
|
|
"y": -0.5660366415977478,
|
|
"z": -0.54013413190841675
|
|
},
|
|
"rotation": {
|
|
"w": 1,
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"shape": "Cube",
|
|
"type": "Box",
|
|
"userData": "{\"tag\":\"step2\"}"
|
|
}
|
|
];
|
|
|
|
//Step1EntityData = [
|
|
// {
|
|
// "clientOnly": 0,
|
|
// "color": {
|
|
// "blue": 255,
|
|
// "green": 0,
|
|
// "red": 255
|
|
// },
|
|
// "created": "2016-08-23T16:29:15Z",
|
|
// "dimensions": {
|
|
// "x": 0.018359377980232239,
|
|
// "y": 0.018359377980232239,
|
|
// "z": 0.018359377980232239
|
|
// },
|
|
// "id": "{387765d2-366d-4775-8e6e-ea45119cf69d}",
|
|
// visible: false,
|
|
// "name": "tutorial/box_spawn",
|
|
// "owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
// "position": {
|
|
// "x": 0.016568422317504883,
|
|
// "y": 0.6591796875,
|
|
// "z": 1.3308790922164917
|
|
// },
|
|
// "queryAACube": {
|
|
// "scale": 0.031799376010894775,
|
|
// "x": 0.00066873431205749512,
|
|
// "y": 0.643280029296875,
|
|
// "z": 1.3149794340133667
|
|
// },
|
|
// "shape": "Cube",
|
|
// "type": "Box"
|
|
// },
|
|
// {
|
|
// "clientOnly": 0,
|
|
// "compoundShapeURL": "http://hifi-content.s3.amazonaws.com/alan/dev/Trash-Can-4.obj",
|
|
// "created": "2016-08-22T21:20:11Z",
|
|
// "dimensions": {
|
|
// "x": 0.57461458444595337,
|
|
// "y": 0.35781359672546387,
|
|
// "z": 0.57461458444595337
|
|
// },
|
|
// "gravity": {
|
|
// "x": 0,
|
|
// "y": -5,
|
|
// "z": 0
|
|
// },
|
|
// "id": "{ddcb3906-3d80-4111-9171-3a73a2f4f1bb}",
|
|
// "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/Trach-Can-3.fbx",
|
|
// "name": "tutorial/basket",
|
|
// "owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
// "position": {
|
|
// "x": 0,
|
|
// "y": 0.6480712890625,
|
|
// "z": 0
|
|
// },
|
|
// "queryAACube": {
|
|
// "scale": 0.88791579008102417,
|
|
// "x": -0.44395789504051208,
|
|
// "y": 0.20411339402198792,
|
|
// "z": -0.44395789504051208
|
|
// },
|
|
// "rotation": {
|
|
// "w": 1,
|
|
// "x": -1.52587890625e-05,
|
|
// "y": -1.52587890625e-05,
|
|
// "z": -1.52587890625e-05
|
|
// },
|
|
// "shapeType": "compound",
|
|
// "type": "Model",
|
|
// "userData": "{\"hifiHomeKey\":{\"reset\":true}}"
|
|
// },
|
|
// {
|
|
// "clientOnly": 0,
|
|
// "created": "2016-08-22T21:22:22Z",
|
|
// "dimensions": {
|
|
// "x": 2.4929797649383545,
|
|
// "y": 0.94968640804290771,
|
|
// "z": 1.0870213508605957
|
|
// },
|
|
// "id": "{e7030a2d-f573-4c4b-a0aa-ea80e9e25399}",
|
|
// "name": "tutorial/table",
|
|
// "modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/table2_re-oriented.fbx",
|
|
// "owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
// "position": {
|
|
// "x": 0.018214225769042969,
|
|
// "y": 0,
|
|
// "z": 0.60948663949966431
|
|
// },
|
|
// "queryAACube": {
|
|
// "scale": 2.8807060718536377,
|
|
// "x": -1.4221388101577759,
|
|
// "y": -1.4403530359268188,
|
|
// "z": -0.83086639642715454
|
|
// },
|
|
// "rotation": {
|
|
// "w": 0.70705735683441162,
|
|
// "x": -1.52587890625e-05,
|
|
// "y": -0.70717936754226685,
|
|
// "z": -1.52587890625e-05
|
|
// },
|
|
// "shapeType": "static-mesh",
|
|
// "type": "Model"
|
|
// },
|
|
// {
|
|
// visible: false,
|
|
// "clientOnly": 0,
|
|
// "collisionless": 1,
|
|
// "color": {
|
|
// "blue": 255,
|
|
// "green": 0,
|
|
// "red": 255
|
|
// },
|
|
// "created": "2016-08-23T18:09:44Z",
|
|
// "dimensions": {
|
|
// "x": 0.43770244717597961,
|
|
// "y": 0.33723857998847961,
|
|
// "z": 0.43770244717597961
|
|
// },
|
|
// "id": "{54e1d825-b552-48e4-b9c8-1c83c79a673e}",
|
|
// "ignoreForCollisions": 1,
|
|
// "name": "tutorial/basket_collider",
|
|
// "owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
// "position": {
|
|
// "x": 0.0058171749114990234,
|
|
// "y": 0.6700439453125,
|
|
// "z": 0.0017895996570587158
|
|
// },
|
|
// "queryAACube": {
|
|
// "scale": 0.70490902662277222,
|
|
// "x": -0.34663733839988708,
|
|
// "y": 0.31758943200111389,
|
|
// "z": -0.35066491365432739
|
|
// },
|
|
// "type": "Sphere"
|
|
// }
|
|
//];
|
|
|
|
Step1BlockData = {
|
|
"clientOnly": 0,
|
|
"color": {
|
|
"blue": 0,
|
|
"green": 0,
|
|
"red": 255
|
|
},
|
|
"created": "2016-08-22T22:54:07Z",
|
|
"dimensions": {
|
|
"x": 0.20000000298023224,
|
|
"y": 0.20000000298023224,
|
|
"z": 0.20000000298023224
|
|
},
|
|
name: "tutorial/block",
|
|
"collisionsWillMove": 1,
|
|
velocity: {
|
|
x: 0,
|
|
y: -0.2,
|
|
z: 0
|
|
},
|
|
"dynamic": 1,
|
|
"gravity": {
|
|
"x": 0,
|
|
"y": -10,
|
|
"z": 0
|
|
},
|
|
"id": "{5c7223f8-3bc5-4cb4-913c-0e93f5994ca2}",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"queryAACube": {
|
|
"scale": 0.34641015529632568,
|
|
"x": -0.17320507764816284,
|
|
"y": -0.17320507764816284,
|
|
"z": -0.17320507764816284
|
|
},
|
|
"rotation": {
|
|
"w": 1,
|
|
"x": -0.0001373291015625,
|
|
"y": -7.62939453125e-05,
|
|
"z": -0.0003204345703125
|
|
},
|
|
"shape": "Cube",
|
|
"type": "Box",
|
|
"userData": JSON.stringify({ hifiHomeKey: { reset: true } }),
|
|
};
|
|
|
|
StepGunData = [
|
|
{
|
|
"clientOnly": 0,
|
|
"created": "2016-08-23T22:18:46Z",
|
|
"dimensions": {
|
|
"x": 2.4929797649383545,
|
|
"y": 0.94968640804290771,
|
|
"z": 1.0870213508605957
|
|
},
|
|
"id": "{de28363f-d1f8-4001-8e6b-1b5876699f49}",
|
|
"modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/table2_re-oriented.fbx",
|
|
"name": "tutorial/table",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"position": {
|
|
"x": 0.17360222339630127,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"queryAACube": {
|
|
"scale": 2.8807060718536377,
|
|
"x": -1.2667508125305176,
|
|
"y": -1.4403530359268188,
|
|
"z": -1.4403530359268188
|
|
},
|
|
"rotation": {
|
|
"w": 0.70705735683441162,
|
|
"x": -1.52587890625e-05,
|
|
"y": -0.70717936754226685,
|
|
"z": -1.52587890625e-05
|
|
},
|
|
"shapeType": "static-mesh",
|
|
"type": "Model",
|
|
"userData": "{\"tag\":\"step4\"}"
|
|
},
|
|
{
|
|
"clientOnly": 0,
|
|
"compoundShapeURL": "http://hifi-content.s3.amazonaws.com/alan/dev/Trash-Can-4.obj",
|
|
"created": "2016-08-23T22:18:46Z",
|
|
"dimensions": {
|
|
"x": 0.57461458444595337,
|
|
"y": 0.35781359672546387,
|
|
"z": 0.57461458444595337
|
|
},
|
|
"gravity": {
|
|
"x": 0,
|
|
"y": -5,
|
|
"z": 0
|
|
},
|
|
"id": "{51e7cf16-e624-44a8-b835-47c35c6ad5f0}",
|
|
"modelURL": "http://hifi-content.s3.amazonaws.com/alan/dev/Trach-Can-3.fbx",
|
|
"name": "tutorial/basket",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"position": {
|
|
"x": 3.8134055137634277,
|
|
"y": 0.6480712890625,
|
|
"z": 0.015498995780944824
|
|
},
|
|
"queryAACube": {
|
|
"scale": 0.88791579008102417,
|
|
"x": 3.3694477081298828,
|
|
"y": 0.20411339402198792,
|
|
"z": -0.42845889925956726
|
|
},
|
|
"rotation": {
|
|
"w": 1,
|
|
"x": -1.52587890625e-05,
|
|
"y": -1.52587890625e-05,
|
|
"z": -1.52587890625e-05
|
|
},
|
|
"shapeType": "compound",
|
|
"type": "Model",
|
|
"userData": "{\"hifiHomeKey\":{\"reset\":true},\"tag\":\"step4\"}"
|
|
},
|
|
{
|
|
"clientOnly": 0,
|
|
"collisionless": 1,
|
|
"color": {
|
|
"blue": 0,
|
|
"green": 0,
|
|
"red": 255
|
|
},
|
|
"created": "2016-08-23T22:20:57Z",
|
|
"dimensions": {
|
|
"x": 0.0649842768907547,
|
|
"y": 0.0649842768907547,
|
|
"z": 0.0649842768907547
|
|
},
|
|
"id": "{264943d2-600f-4d22-ad30-ccd57f7c4424}",
|
|
"ignoreForCollisions": 1,
|
|
"name": "tutorial/gun_spawn",
|
|
visible: false,
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"position": {
|
|
"x": 0,
|
|
"y": 0.62629544734954834,
|
|
"z": 0.028602004051208496
|
|
},
|
|
"queryAACube": {
|
|
"scale": 0.11255607008934021,
|
|
"x": -0.056278035044670105,
|
|
"y": 0.57001739740371704,
|
|
"z": -0.027676030993461609
|
|
},
|
|
"shape": "Cube",
|
|
"type": "Box"
|
|
},
|
|
{
|
|
"clientOnly": 0,
|
|
"collisionless": 1,
|
|
"color": {
|
|
"blue": 255,
|
|
"green": 0,
|
|
"red": 255
|
|
},
|
|
"created": "2016-08-23T22:18:46Z",
|
|
"dimensions": {
|
|
"x": 0.43770244717597961,
|
|
"y": 0.33723857998847961,
|
|
"z": 0.43770244717597961
|
|
},
|
|
"id": "{a8944645-3234-484f-aed1-1a63d76aa51c}",
|
|
"ignoreForCollisions": 1,
|
|
"name": "tutorial/basket_collider",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"position": {
|
|
"x": 3.8192229270935059,
|
|
"y": 0.6700439453125,
|
|
"z": 0.017288565635681152
|
|
},
|
|
"queryAACube": {
|
|
"scale": 0.70490902662277222,
|
|
"x": 3.4667685031890869,
|
|
"y": 0.31758943200111389,
|
|
"z": -0.33516594767570496
|
|
},
|
|
"rotation": {
|
|
"w": 1,
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"type": "Sphere",
|
|
"userData": "{\"tag\":\"step4\"}",
|
|
"visible": 0
|
|
}
|
|
];
|
|
|
|
GunData = {
|
|
"clientOnly": 0,
|
|
"collisionsWillMove": 1,
|
|
"compoundShapeURL": "http://hifi-production.s3.amazonaws.com/tutorials/pingPongGun/Pingpong-Gun-New.obj",
|
|
"created": "2016-08-23T22:12:13Z",
|
|
"dimensions": {
|
|
"x": 0.125,
|
|
"y": 0.38749998807907104,
|
|
"z": 0.99309998750686646
|
|
},
|
|
"dynamic": 1,
|
|
"gravity": {
|
|
"x": 0,
|
|
"y": -5,
|
|
"z": 0
|
|
},
|
|
|
|
"id": "{8d3fa3f2-8b59-4f47-8bb4-c03574239c9f}",
|
|
"modelURL": "http://hifi-production.s3.amazonaws.com/tutorials/pingPongGun/Pingpong-Gun-New.fbx",
|
|
"name": "tutorial/gun",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"queryAACube": {
|
|
"scale": 3.219977855682373,
|
|
"x": -2.5046753883361816,
|
|
"y": -1.8901374340057373,
|
|
"z": -0.68512386083602905
|
|
},
|
|
velocity: {
|
|
x: 0,
|
|
y: -1,
|
|
z: 0
|
|
},
|
|
"rotation": {
|
|
"w": 0.69534718990325928,
|
|
"x": -0.13302478194236755,
|
|
"y": -0.12684555351734161,
|
|
"z": 0.69477111101150513
|
|
},
|
|
"script": "http://hifi-production.s3.amazonaws.com/tutorials/entity_scripts/pingPongGun.js",
|
|
"shapeType": "compound",
|
|
"type": "Model",
|
|
"userData": "{\"grabbableKey\":{\"invertSolidWhileHeld\":true},\"wearable\":{\"joints\":{\"RightHand\":[{\"x\":0.1177130937576294,\"y\":0.12922893464565277,\"z\":0.08307232707738876},{\"x\":0.4934672713279724,\"y\":0.3605862259864807,\"z\":0.6394805908203125,\"w\":-0.4664038419723511}],\"LeftHand\":[{\"x\":0.09151676297187805,\"y\":0.13639454543590546,\"z\":0.09354984760284424},{\"x\":-0.19628101587295532,\"y\":0.6418180465698242,\"z\":0.2830369472503662,\"w\":0.6851521730422974}]}}}"
|
|
};
|
|
|
|
HandsAboveHeadData = [
|
|
{
|
|
name: "tutorial/sign",
|
|
"backgroundColor": {
|
|
"blue": 187,
|
|
"green": 242,
|
|
"red": 198
|
|
},
|
|
"clientOnly": 0,
|
|
"created": "2016-08-23T22:42:48Z",
|
|
"dimensions": {
|
|
"x": 0.58140444755554199,
|
|
"y": 0.38676983118057251,
|
|
"z": 0.0099999997764825821
|
|
},
|
|
"id": "{c0ceabcf-501e-41fe-99e9-aca47a44122f}",
|
|
"owningAvatarID": "{00000000-0000-0000-0000-000000000000}",
|
|
"queryAACube": {
|
|
"scale": 0.69837099313735962,
|
|
"x": -0.34918549656867981,
|
|
"y": -0.34918549656867981,
|
|
"z": -0.34918549656867981
|
|
},
|
|
"rotation": {
|
|
"w": 0.70710676908493042,
|
|
"x": 0,
|
|
"y": -0.70710670948028564,
|
|
"z": 0
|
|
},
|
|
"text": "Put your hands above your head.",
|
|
"textColor": {
|
|
"blue": 0,
|
|
"green": 0,
|
|
"red": 0
|
|
},
|
|
"type": "Text"
|
|
}
|
|
];
|