Last active
December 9, 2016 01:20
-
-
Save sevanspowell/d70e3702cc96abf42ec23f49b46a557b to your computer and use it in GitHub Desktop.
DraygonTensor - An example prefab file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"components": { | |
"cameraComponent": { | |
"projection": "perspective", | |
"vertical_fov": 1.04719, | |
"near_clip": 0.1, | |
"far_clip": 700.0 | |
}, | |
"scriptComponents": { | |
"scriptPaths": { | |
"scripts/fpsCamera": { | |
"sensitivity": { | |
"type": "float", | |
"value": 0.5 | |
} | |
} | |
} | |
}, | |
"physicsComponent": { | |
"restitution": 0.6, | |
"damping": 0.95, | |
"angularDamping": 0.00, | |
"collisionShapes": [ | |
{ | |
"name": "leg1", | |
"type": "capsule", | |
"radius": 0.9, | |
"height": 1.8, | |
"mass": 1, | |
"halfSize": [0.25, 0.25, 0.25], | |
"offset": [0.0, 0.0, 0.0], | |
"invInertiaTensor": [0, 0, 0] | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment