mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Update createTestBlocks.js
This commit is contained in:
parent
daf97b0b9d
commit
1b241ea05e
1 changed files with 0 additions and 15 deletions
|
@ -58,12 +58,6 @@ var position = Vec3.sum(MyAvatar.position,
|
|||
z: -DISTANCE_IN_FRONT_OF_ME
|
||||
}));
|
||||
|
||||
// var position={
|
||||
// x:0,
|
||||
// y:0,
|
||||
// z:0
|
||||
// };
|
||||
|
||||
var sideBlock1_position = {
|
||||
x: position.x,
|
||||
y: position.y,
|
||||
|
@ -145,12 +139,3 @@ var ground = Entities.addEntity({
|
|||
z: position.z
|
||||
}
|
||||
});
|
||||
|
||||
function cleanUp() {
|
||||
Entities.deleteEntity(ground);
|
||||
Entities.deleteEntity(topBlock);
|
||||
Entities.deleteEntity(sideBlock1);
|
||||
Entities.deleteEntity(sideBlock2);
|
||||
}
|
||||
|
||||
// Script.scriptEnding.connect(cleanUp);
|
Loading…
Reference in a new issue