70 lines
1.2 KiB
JSON
70 lines
1.2 KiB
JSON
{
|
|
"name": "Player",
|
|
"type": "Player",
|
|
"behaviors": [
|
|
"AudioEmitterBehavior"
|
|
],
|
|
"assets": [
|
|
{ "filename": "./playerModel.json", "delay": 1 },
|
|
// "./playerModel.json",
|
|
"./playerLight.json",
|
|
"./gui/hud/hud.json",
|
|
"./scripts/player.lua"
|
|
],
|
|
"system": {
|
|
"hot reload": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"metadata": {
|
|
"movement": {
|
|
"walk": 6,
|
|
"move": 12,
|
|
"run": 18,
|
|
"rotate": 6.0,
|
|
"air": 0.1,
|
|
|
|
"crouch": 0.9,
|
|
"jump": [ 0, 8, 0 ],
|
|
"look": 1,
|
|
"floored": {
|
|
"feet": [ 0, -1, 0 ],
|
|
"floor": [ 0, -1, 0 ]
|
|
},
|
|
"strafe": true
|
|
},
|
|
"physics": {
|
|
"gravity": [ 0, -14.0, 0 ],
|
|
"inertia": false,
|
|
|
|
"type": "capsule",
|
|
"radius": 1,
|
|
"height": 2,
|
|
"category": "player",
|
|
"mask": "player",
|
|
|
|
"mass": 100,
|
|
"friction": 0.90,
|
|
"restitution": 0.0
|
|
},
|
|
"camera": {
|
|
"position" : [ 0, 1.8, 0 ],
|
|
"scale": [ 1, 1, 1 ],
|
|
"invert": [ false, false, false ],
|
|
"limit": {
|
|
"minima": [ null, -1.0, null ],
|
|
"maxima": [ null, 1.0, null ],
|
|
"current":[ null, 0, null ]
|
|
},
|
|
"settings": {
|
|
"fixed": false,
|
|
"fov" : 90.0,
|
|
"clip" : [ 0.1, 0 ],
|
|
"size" : [ 0, 0 ]
|
|
}
|
|
},
|
|
"use": {
|
|
"length": 5
|
|
}
|
|
}
|
|
} |