Update butane lighter equip position in tutorial

This commit is contained in:
Ryan Huffman 2016-10-19 15:48:17 -07:00
parent acb44d021c
commit 9207e882b1

View file

@ -53,33 +53,39 @@ createButaneLighter = function(transform) {
shapeType: 'simple-compound', shapeType: 'simple-compound',
type: 'Model', type: 'Model',
userData: JSON.stringify({ userData: JSON.stringify({
tag: "equip-temporary", "tag": "equip-temporary",
grabbableKey: { "grabbableKey": {
invertSolidWhileHeld: true "invertSolidWhileHeld": true
}, },
wearable: { "wearable": {
joints: { "joints": {
RightHand: [{ "RightHand": [
x: 0.029085848480463028, {
y: 0.09807153046131134, "x": 0.049671292304992676,
z: 0.03062543272972107 "y": 0.09825992584228516,
}, { "z": 0.03760027885437012
x: 0.5929139256477356, },
y: 0.3207578659057617, {
z: 0.7151655554771423, "x": 0.6562752723693848,
w: -0.18468326330184937 "y": 0.27598991990089417,
}], "z": 0.6638742685317993,
LeftHand: [{ "w": -0.22890058159828186
x: -0.029085848480463028, }
y: 0.09807153046131134, ],
z: 0.03062543272972107 "LeftHand": [
}, { {
x: -0.5929139256477356, "x": -0.028073370456695557,
y: 0.3207578659057617, "y": 0.09609812498092651,
z: 0.7151655554771423, "z": 0.039550721645355225
w: -0.18468326330184937 },
}] {
} "x": -0.6697965264320374,
"y": 0.22050897777080536,
"z": 0.6544681191444397,
"w": 0.27283111214637756
}
]
}
} }
}), }),
script: SCRIPT_URL script: SCRIPT_URL