{
	"name": "Player",
	"type": "Object",
	"behaviors": [
		"PlayerBehavior",
		"SoundEmitterBehavior"
	],
	"ignore": false,
/*
	"transform": {
		"position": [ 0, 0, 0 ],
		"rotation": {
			"axis": [ 0, 1, 0 ],
			"angle": 0
		},
		"scale": [ 1, 1, 1 ]
	},
*/
	"assets":  [
	//	{ "filename": "./playerModel.json", "delay": 0 },
		"./playerModel.json",
		"./playerLight.json",
		"./playerHands.json",
		"./scripts/player.lua"
	],
	"system": {
		"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"
				]
			}
		},
		"movement": {
			"walk": 1,
			"move": 4,
			"run": 16,
			"rotate": 1.5,
			"air": 0.1,

			"crouch": 1,
			"jump": [ 0, 3, 0 ],
			"look": 1,
			"floored": {
				"feet": [ 0, -1.5, 0 ],
			//	"floor": [ 0, -0.5, 0 ],
				"floor": [ 0, -1.0, 0 ],
				"print": false
			}
		},
		"physics": {	
			"gravity": [ 0, -9.81, 0 ],
			"inertia": [ 0, 0, 0 ],

			"type": "capsule",
			"radius": 1,
			"height": 2,
			
			"mass": 100,
			"friction": 0.95,
			"restitution": 0.0,
			
			"shared": false
		},
		"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.0,
				"clip" : [ 0.1, 64.0 ],
				"size" :  [ 0, 0 ]
			}
		},
		"use": {
			"length": 5
		}
	}
}