97 lines
1.8 KiB
JSON
97 lines
1.8 KiB
JSON
{
|
|
"name": "Player",
|
|
"type": "Object",
|
|
"behaviors": [
|
|
"PlayerBehavior"
|
|
],
|
|
"ignore": false,
|
|
"transform": {
|
|
"position": [ 0, 0, 0 ],
|
|
"rotation": {
|
|
"axis": [ 0, 1, 0 ],
|
|
"angle": 3.1415926
|
|
},
|
|
"scale": [ 1, 1, 1 ]
|
|
},
|
|
"assets": [
|
|
{ "filename": "./playerModel.json", "delay": 1.0, "single threaded": true },
|
|
"./hands.json"
|
|
],
|
|
"system": {
|
|
"physics": {
|
|
"movement": {
|
|
"walk": 1,
|
|
"move": 8,
|
|
"run": 16,
|
|
"rotate": 1.5,
|
|
"air": 0.1,
|
|
|
|
"crouch": 1,
|
|
"jump": [ 0, 4, 0 ],
|
|
"look": 0.75
|
|
},
|
|
|
|
"gravity": [ 0, -9.81, 0 ],
|
|
"inertia": [ 0, 0, 0 ],
|
|
|
|
"type": "capsule",
|
|
"radius": 1,
|
|
"height": 2,
|
|
|
|
"mass": 100,
|
|
"friction": 0.8,
|
|
"restitution": 0.0,
|
|
|
|
"shared": false
|
|
},
|
|
"hot reload": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"metadata": {
|
|
"overlay": {
|
|
"transform": {
|
|
"position": [ 0, 0, -3 ],
|
|
"scale": [ 1.77778, -1, 1 ],
|
|
"orientation": [ 0, 0, 0, 1 ]
|
|
},
|
|
"floating": false,
|
|
"enabled": true,
|
|
"alpha": 1.0,
|
|
"cursor": {
|
|
"type": "mouse",
|
|
"radius": 0.05,
|
|
"color": [ 0.2, 0.2, 1.0, 1.0 ],
|
|
"enabled": false
|
|
}
|
|
},
|
|
"audio": {
|
|
"footstep": {
|
|
"volume": 0.5,
|
|
"list": [
|
|
"/footstep/1.ogg",
|
|
"/footstep/2.ogg"
|
|
]
|
|
}
|
|
},
|
|
"camera": {
|
|
"offset": [ 0, 0, 0 ],
|
|
"position" : [ 0, 1.8, 0 ],
|
|
"scale": [ 1, 1, 1 ],
|
|
"invert": [ false, false, false ],
|
|
"limit": {
|
|
// "minima": [ null, -1.57079633, null ],
|
|
// "maxima": [ null, 1.57079633, null ],
|
|
|
|
"minima": [ null, -1.0, null ],
|
|
"maxima": [ null, 1.0, null ],
|
|
"current":[ null, 0, null ]
|
|
},
|
|
"settings": {
|
|
"fov" : 90,
|
|
"clip" : [ 0.1, 64.0 ],
|
|
"size" : [ 0, 0 ]
|
|
}
|
|
}
|
|
}
|
|
} |