mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 14:12:26 +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,
|
||||
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")
|
||||
};
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
print("launch.js | got click down");
|
||||
this.launchBlock();
|
||||
}
|
||||
|
||||
|
||||
this.startNearTrigger = function () {
|
||||
print("launch.js | got start near trigger");
|
||||
this.launchBlock();
|
||||
|
|
Loading…
Reference in a new issue