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, modelURL: BLOCK_MODEL_URL,
shapeType: "compound", shapeType: "compound",
//compoundShapeURL: BLOCK_COMPOUND_SHAPE_URL, //compoundShapeURL: BLOCK_COMPOUND_SHAPE_URL,
userData: JSON.stringify({ //userData: JSON.stringify({
grabbableKey: { // grabbableKey: {
wantsTrigger: true // wantsTrigger: true
} // }
}), //}),
dimensions: BLOCK_DIMENSIONS, dimensions: BLOCK_DIMENSIONS,
dynamic: 1, dynamic: 1,
gravity: { x: 0.0, y: -9.8, z: 0.0 }, gravity: { x: 0.0, y: -9.8, z: 0.0 },
collisionsWillMove: 1, collisionsWillMove: 1,
lifetime: BLOCK_LIFETIME, 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"); print("launch.js | got click down");
this.launchBlock(); this.launchBlock();
} }
this.startNearTrigger = function () { this.startNearTrigger = function () {
print("launch.js | got start near trigger"); print("launch.js | got start near trigger");
this.launchBlock(); this.launchBlock();