Rename destructibleEntity

This commit is contained in:
Ryan Huffman 2016-12-21 10:45:13 -08:00
parent 83ec0063c0
commit 5c3be10c6c
3 changed files with 7 additions and 7 deletions

View file

@ -13,16 +13,16 @@ getBlockProperties = function() {
modelURL: BLOCK_MODEL_URL,
shapeType: "compound",
//compoundShapeURL: BLOCK_COMPOUND_SHAPE_URL,
userData: JSON.stringify({
grabbableKey: {
wantsTrigger: true
}
}),
//userData: JSON.stringify({
// grabbableKey: {
// wantsTrigger: true
// }
//}),
dimensions: BLOCK_DIMENSIONS,
dynamic: 1,
gravity: { x: 0.0, y: -9.8, z: 0.0 },
collisionsWillMove: 1,
lifetime: BLOCK_LIFETIME,
script: Script.resolvePath("destructibleEntity.js")
script: Script.resolvePath("destructibleGrowableEntity.js")
};
}

View file

@ -64,7 +64,7 @@
print("launch.js | got click down");
this.launchBlock();
}
this.startNearTrigger = function () {
print("launch.js | got start near trigger");
this.launchBlock();