{
  "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.00009; restitution:0;"
  },
  "robots_config": [
    {
      "controller": "user1",
      "id": "a-keybot"
    }
  ],
  "soundtrack_config": {
    "src": "/static/websim/assets/soundtracks/Spring_Village.ogg"
  },
  "assets": [
    {
      "tag": "img",
      "attr": {
        "id": "ground",
        "alt": "Texture for the scene ground",
        "src": "/static/websim/assets/textures/simple_angle.png"
      }
    },
    {
      "tag": "a-asset-item",
      "attr": {
        "id": "model-keybot",
        "src": "/static/websim/assets/models/keybot.gltf"
      }
    },
    {
      "tag": "img",
      "attr": {
        "id": "sky",
        "alt": "Texture for the scene ground",
        "src": "/static/websim/assets/textures/sky.png"
      }
    },
        {
      "tag": "img",
      "attr": {
        "id": "ground2",
        "alt": "Texture for the scene ground",
        "src": "/static/websim/assets/textures/escenarioLiso-min.png"
      }
    }
  ],
  "objects": [
    {
      "tag": "a-plane",
      "attr": {
        "static-body": {
          "mass": 1000
        },
        "position": {
          "x": 0,
          "y": 1,
          "z": 0
        },
        "rotation": {
          "x": -90,
          "y": 0,
          "z": 0
        },
        "width": "50",
        "height": "30",
        "src": "#ground",
        "shadow": "receive: true"

      }
    },
    {
      "tag": "a-plane",
      "attr": {
        "static-body": {
          "mass": 1000
        },
        "position": {
          "x": 0,
          "y": 0.8,
          "z": 0
        },
        "rotation": {
          "x": -90,
          "y": 0,
          "z": 0
        },
        "width": "100",
        "height": "100",
        "src": "#ground2",
        "shadow": "receive: true"

      }
    },
    {
      "tag": "a-entity",
      "attr": {
        "id": "sceneCamWrapper",
        "position": {
          "x": 0,
          "y": 15,
          "z": 0
        },
        "rotation": {
          "x": -90,
          "y": 0,
          "z": 0
        },
        "movement-controls": "fly:true"
      },
      "childs": [
        {
          "tag": "a-camera",
          "attr": {
            "id": "sceneCam",
            "position": {
              "x": 0,
              "y": 0,
              "z": 0
            },
            "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": 0.5,
          "y": 1,
          "z": -0.5
        },
        "rotation": {
          "x": 0,
          "y": 0,
          "z": 0
        },
        "dynamic-body": {
          "mass": 5
        },
        "animation-mixer": "loop: repeat",
        "shadow": {
          "cast": "true",
          "receive": "false"
        }
      },
      "childs": [
        {
          "tag": "a-entity",
          "attr": {
            "id": "a-keybotCamera1Wrapper",
            "position": {
              "x": 3.6,
              "y": 2,
              "z": 0
            },
            "rotation": {
              "x": 0,
              "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.02,
                  "z": -0.04
                },
                "rotation": {
                  "x": -90,
                  "y": 0,
                  "z": 0
                },
                "active": false,
                "spectator": "canvas:#cameraIRDiv; canvasID: a-keybotCameraIRCanvas;",
                "wasd-controls-enabled": false,
                "look-controls-enabled": false
              }
            }
          ]
        }
      ]
    },
    {
      "tag": "a-entity",
      "attr": {
        "iterations": {
          "id": "a-componentAux",
          "count": "0",
          "position": {
            "x": 0,
            "y": 1,
            "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": "13 100 28",
        "intensity": "0.25",
        "light": {
          "castShadow": true
        }
      }
    }
  ]
}
