mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 07:19:14 +02:00
Rename destructibleEntity
This commit is contained in:
parent
83ec0063c0
commit
5c3be10c6c
3 changed files with 7 additions and 7 deletions
|
@ -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")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue