{
  "scene-parent-id": "myIFrame",
  "scene": {
    "id": "scene",
    "gravity": -9.8,
    "ground": "/static/websim/assets/textures/bump&go.png",
    "sky": "/static/websim/assets/textures/sky.png",
    "background": "color: gray;",
    "inspector": "url: https://aframe.io/releases/0.4.0/aframe-inspector.min.js",
    "embedded": true,
    "physics": "debug:false; friction: 0.00018"
  },
  "robots_config": [
    {
      "controller": "user1",
      "id": "a-keybot"
    }
  ],
  "soundtrack_config": {
    "src": "/static/websim/assets/soundtracks/Spring_Village.ogg"
  },
  "assets": [
    {
      "tag": "img",
      "attr": {
        "id": "posgui",
        "alt": "Texture for the position sensor gui",
        "src": "/static/websim/assets/textures/circuit.png"
      }
    },
    {
      "tag": "img",
      "attr": {
        "id": "ground",
        "alt": "Texture for the scene ground",
        "src": "/static/websim/assets/textures/interlagosIR.png"
      }
    },
    {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-keybot",
        "src": "/static/websim/assets/models/keybot.gltf"
      }
    },
    {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-planta",
        "src": "/static/websim/assets/models/mario/planta_carnibora.gltf"
      }
    },
    {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-plantablue",
        "src": "/static/websim/assets/models/mario/planta_carnibora_blue.gltf"
      }
    },
        {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-plantapink",
        "src": "/static/websim/assets/models/mario/planta_carnibora_pink.gltf"
      }
    },
        {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-plantayellow",
        "src": "/static/websim/assets/models/mario/planta_carnibora_yellow.gltf"
      }
    },
    {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-caparazon",
        "src": "/static/websim/assets/models/mario/caparazon.gltf"
      }
    },
        {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-tuberia",
        "src": "/static/websim/assets/models/mario/tuberia.gltf"
      }
    },
        {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-champi",
        "src": "/static/websim/assets/models/mario/champi.gltf"
      }
    },
    {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-tiburon",
        "src": "/static/websim/assets/models/mario/tiburon.gltf"
      }
    },
        {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-redbox",
        "src": "/static/websim/assets/models/mario/bloque_rojo.gltf"
      }
    },
    {
      "tag": "img",
      "attr": {
        "id": "sky",
        "alt": "Texture for the scene ground",
        "src": "/static/websim/assets/textures/sky.png"
      }
    }
  ],
  "objects": [
    {
      "tag": "a-plane",
      "attr": {
        "static-body": {
          "mass": 100000
        },
        "position": {
          "x": 0,
          "y": 0,
          "z": 0
        },
        "rotation": {
          "x": -90,
          "y": 0,
          "z": 0
        },
        "width": "100",
        "height": "100",
        "src": "#ground",
        "shadow": "receive: true"

      }
    },
    {
      "tag": "a-entity",
      "attr": {
        "id": "sceneCamWrapper",
        "position": {
          "x": 1,
          "y": 9,
          "z": 15
        },
        "rotation": {
          "x": 0,
          "y": 0,
          "z": 0
        },
        "movement-controls": "fly:true"
      },
      "childs": [
        {
          "tag": "a-camera",
          "attr": {
            "id": "sceneCam",
            "position": {
              "x": 12,
              "y": 0,
              "z": 25
            },
            "rotation": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "active": true,
            "wasd-controls-enabled": true,
            "look-controls-enabled": true
          }
        }
      ]
    },
    {
      "tag": "a-robot",
      "attr": {
        "id": "a-keybot",
        "gltf-model": "#model-keybot",
        "scale": {
          "x": 0.5,
          "y": 0.5,
          "z": 0.5
        },
        "position": {
          "x": 12.40,
          "y": 1,
          "z": 25
        },
        "rotation": {
          "x": 0,
          "y": 43.70,
          "z": 0
        },
        "dynamic-body": {
          "mass": 1
        },
        "fmax": "100000000000000",
        "tmax": "10",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }

      },
      "childs": [
        {
          "tag": "a-entity",
          "attr": {
            "id": "a-keybotWrapper",
            "position": {
              "x": 2,
              "y": 1,
              "z": 0
            },
            "rotation": {
              "x": -10,
              "y": -90,
              "z": 0
            }
          },
          "childs": [
            {
              "tag": "a-camera",
              "attr": {
                "id": "a-keybotCamera1",
                "position": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "rotation": {
                  "x": 0,
                  "y": 0,
                  "z": 0
                },
                "active": false,
                "spectator": "canvas:#cameraDiv; canvasID: a-keybotCamera1Canvas;",
                "wasd-controls-enabled": false,
                "look-controls-enabled": false
              }
            },
            {
              "tag": "a-camera",
              "attr": {
                "id": "a-keybotCameraIR",
                "position": {
                  "x": 0,
                  "y": -0.6,
                  "z": 0
                },
                "rotation": {
                  "x": -80,
                  "y": 0,
                  "z": 0
                },
                "active": false,
                "spectator": "canvas:#cameraIRDiv; canvasID: a-keybotCameraIRCanvas;",
                "wasd-controls-enabled": false,
                "look-controls-enabled": false
              }
            }
          ]
        }
      ]
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 0.5,
          "y": 0.5,
          "z": 0.5
        },
        "position": {
          "x": 16,
          "y": 0,
          "z": 13
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-planta",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "position": {
          "x": 23,
          "y": -0.5,
          "z": -37
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-plantablue",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 0.5,
          "y": 0.5,
          "z": 0.5
        },
        "position": {
          "x": -16,
          "y": 0,
          "z": 0
        },
        "rotation": {
          "x": 0,
          "y": -90,
          "z": 0
        },
        "src": "#model-plantapink",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 0.75,
          "y": 0.75,
          "z": 0.75
        },
        "position": {
          "x": -24,
          "y": -0.5,
          "z": 14
        },
        "rotation": {
          "x": 0,
          "y": 120,
          "z": 0
        },
        "src": "model-plantayellow",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 0.5,
          "y": 0.5,
          "z": 0.5
        },
        "position": {
          "x": -8,
          "y": 0,
          "z": 26
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-caparazon",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "position": {
          "x": -30,
          "y": 0,
          "z": 35
        },
        "rotation": {
          "x": 0,
          "y": 120,
          "z": 0
        },
        "src": "#model-caparazon",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "position": {
          "x": 40,
          "y": 0,
          "z": -20
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-tuberia",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1.5,
          "y": 1.5,
          "z": 1.5
        },
        "position": {
          "x": -32,
          "y": 0,
          "z": -18
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-tuberia",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1.5,
          "y": 1.5,
          "z": 1.5
        },
        "position": {
          "x": 40,
          "y": 1.5,
          "z": 23
        },
        "rotation": {
          "x": 0,
          "y": 0,
          "z": 90
        },
        "src": "#model-tuberia",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 0.5,
          "y": 0.5,
          "z": 0.5
        },
        "position": {
          "x": 25,
          "y": 0,
          "z": 20
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-champi",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "position": {
          "x": -36,
          "y": 0,
          "z": -29
        },
        "rotation": {
          "x": 0,
          "y": 180,
          "z": 0
        },
        "src": "#model-champi",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:2;radiusTop:2,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 2,
          "y": 2,
          "z": 2.5
        },
        "position": {
          "x": 6,
          "y": 0,
          "z": -16
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-tiburon",
        "class": "collidable",
        "static-body": {
          "shape": "none",
          "mass": 1
        },
        "shape__main": "shape: cylinder; radiusBottom:4;radiusTop:4,height:7",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "position": {
          "x": 27,
          "y": -1.5,
          "z": 1
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-redbox",
        "class": "collidable",
        "static-body": {
          "shape": "box",
          "mass": 1
        },
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "position": {
          "x": 0,
          "y": -1.5,
          "z": 11
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-redbox",
        "class": "collidable",
        "static-body": {
          "shape": "box",
          "mass": 1
        },
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      }
    },
    {
      "tag": "a-gltf-model",
      "attr": {
        "scale": {
          "x": 1,
          "y": 1,
          "z": 1
        },
        "position": {
          "x": 27,
          "y": -1.5,
          "z": 30
        },
        "rotation": {
          "x": 0,
          "y": 90,
          "z": 0
        },
        "src": "#model-redbox",
        "class": "collidable",
        "static-body": {
          "shape": "box",
          "mass": 1
        },
        "shadow":"cast: true, receive: false"

      }
    },
    {
      "tag": "a-entity",
      "attr": {
        "iterations": {
          "id": "a-componentAux",
          "count": "0",
          "position": {
            "x": 0,
            "y": 0,
            "z": 0
          }
        }
      }
    },
    {
      "tag": "a-sky",
      "attr": {
        "src": "#sky"
      }
    },
    {
      "tag": "a-light",
      "attr": {
        "type": "ambient",
        "intensity": "1",
        "color": "#ffffff"
      }
    },
    {
      "tag": "a-light",
      "attr": {
        "type": "point",
        "position": "0 50 0",
        "intensity": "0.25",
        "light": {
          "castShadow": true
        }
      }
    }
  ]
}
