{ "entities": [ { "name": "camera", "components": [ { "type": "POSITION", "x": 10, "y": 10, "z": 10, "lookAt": { "x": 0, "y": 0, "z": 0 } }, { "type": "CAMERA", "projType": "PERSPECTIVE", "nearClip": 0.1, "farClip": 1000, "fov": 0.9 } ] }, { "components": [ { "type": "POSITION", "x": 0, "y": 1, "z": 0, "parent": "camera" } ] }, { "name": "player", "extend": "PLAYER" }, { "components": [ { "type": "POSITION", "x": 0, "y": 0, "z": 0.85, "parent": "player", "scale": { "x": 0.7, "y": 0.7, "z": 0.7 } }, { "type": "RENDERABLE", "renderType": "SHADER_MATERIAL", "priority": 0, "shaderType": "UNLIT", "color": { "r": 80, "g": 160, "b": 255, "a": 255 }, "displayState": { "cull": false, "depthTest": true, "blend": false } } ] }, { "name": "testArea", "components": [ { "type": "POSITION", "x": 2, "y": 1, "z": 0 }, { "type": "TRIGGER", "collideMask": 2, "shape": { "type": "CUBE", "halfExtentX": 1.5, "halfExtentY": 1.5, "halfExtentZ": 1.5 } } ] }, { "components": [ { "type": "POSITION", "x": 0, "y": -0.1, "z": 0, "scale": { "x": 20, "y": 0.2, "z": 20 } }, { "type": "RENDERABLE", "renderType": "SHADER_MATERIAL", "priority": 0, "shaderType": "UNLIT", "color": { "r": 128, "g": 128, "b": 128, "a": 255 }, "displayState": { "cull": false, "depthTest": true, "blend": false } }, { "type": "PHYSICS", "bodyType": "STATIC", "shape": { "type": "PLANE", "normalX": 0, "normalY": 1, "normalZ": 0, "distance": 0 } } ] } ] }