33 lines
664 B
JSON
33 lines
664 B
JSON
{
|
|
"components": {
|
|
"position": {
|
|
"position": [0.0, 0.0, 0.0],
|
|
"rotation": [0.0, 0.0, 0.0],
|
|
"scale": [1.0, 1.0, 1.0]
|
|
},
|
|
"camera": {
|
|
"projType": "perspective",
|
|
"nearClip": 0.1,
|
|
"farClip": 5000.0,
|
|
"fov": 45.0
|
|
},
|
|
"renderable": {
|
|
"type": "shader_material",
|
|
"priority": 0,
|
|
"shaderType": 1,
|
|
"stateFlags": 2
|
|
},
|
|
"physics": {
|
|
"bodyType": "dynamic",
|
|
"shapeType": "cube",
|
|
"halfExtents": [0.5, 0.5, 0.5],
|
|
"velocity": [0.0, 0.0, 0.0],
|
|
"gravityScale": 1.0
|
|
},
|
|
"trigger": {
|
|
"min": [-0.5, -0.5, -0.5],
|
|
"max": [0.5, 0.5, 0.5]
|
|
}
|
|
}
|
|
}
|