Skip to content

Commit

Permalink
added attachablle mask
Browse files Browse the repository at this point in the history
  • Loading branch information
setpixel committed Dec 11, 2019
1 parent 30dde37 commit 83a9068
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions src/data/shot-generator/attachables/attachables.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"id": "object-pistol",
"name": "Attachable: Pistol Gun",
"type": "attachable",
"x": -0.4,
"y": 0.3,
"x": -0.4,
"y": 0.3,
"z": 0.025,
"rotation": { "x": -1.5708, "y": 0, "z": 1.5708 },
"bindBone": "LeftHand"
Expand All @@ -13,28 +13,38 @@
"id": "backpack",
"name": "Attachable: Backpack",
"type": "attachable",
"x": 0,
"y": 0,
"x": 0,
"y": 0,
"z": -0.15,
"rotation": { "x": 0, "y": 0, "z": 0 },
"bindBone": "Spine1"
},
"glasses": {
"glasses": {
"id": "glasses",
"name": "Attachable: Glasses",
"type": "attachable",
"x": 0,
"y": 0.08,
"x": 0,
"y": 0.08,
"z": 0.06,
"rotation": { "x": 0, "y": 0, "z": 0 },
"bindBone": "Head"
},
"mask": {
"id": "mask",
"name": "Attachable: Mask",
"type": "attachable",
"x": 0,
"y": 0.060,
"z": 0.105,
"rotation": { "x": 0, "y": 0, "z": 0 },
"bindBone": "Head"
},
"hair": {
"id": "hair",
"name": "Attachable: Hair",
"type": "attachable",
"x": -0.0013,
"y": 0.15,
"x": -0.0013,
"y": 0.15,
"z": 0.014,
"rotation": { "x": 0, "y": 0, "z": 0 },
"bindBone": "Head"
Expand All @@ -43,8 +53,8 @@
"id": "moustache",
"name": "Attachable: Moustache",
"type": "attachable",
"x": -0.0001,
"y": 0.025,
"x": -0.0001,
"y": 0.025,
"z": 0.13,
"rotation": { "x": 0, "y": 0, "z": 0 },
"bindBone": "Head"
Expand Down
Binary file added src/data/shot-generator/attachables/mask.glb
Binary file not shown.
Binary file added src/data/shot-generator/attachables/mask.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 83a9068

Please sign in to comment.