mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 05:09:23 +02:00
fix indent createFloatingLanternBox.js
This commit is contained in:
parent
a12e8e34db
commit
f3d8d1641f
1 changed files with 15 additions and 15 deletions
|
@ -22,21 +22,21 @@ var LIFETIME = 3600;
|
||||||
var SCALE_FACTOR = 1;
|
var SCALE_FACTOR = 1;
|
||||||
|
|
||||||
var lanternBox = {
|
var lanternBox = {
|
||||||
type: "Model",
|
type: "Model",
|
||||||
name: "Floating Lantern Box",
|
name: "Floating Lantern Box",
|
||||||
description: "Spawns Lanterns that float away when grabbed and released!",
|
description: "Spawns Lanterns that float away when grabbed and released!",
|
||||||
script: SCRIPT_URL,
|
script: SCRIPT_URL,
|
||||||
modelURL: MODEL_URL,
|
modelURL: MODEL_URL,
|
||||||
shapeType: "Compound",
|
shapeType: "Compound",
|
||||||
compoundShapeURL: COMPOUND_SHAPE_URL,
|
compoundShapeURL: COMPOUND_SHAPE_URL,
|
||||||
position: START_POSITION,
|
position: START_POSITION,
|
||||||
lifetime: LIFETIME,
|
lifetime: LIFETIME,
|
||||||
dimensions: {
|
dimensions: {
|
||||||
x: 0.8696 * SCALE_FACTOR,
|
x: 0.8696 * SCALE_FACTOR,
|
||||||
y: 0.58531 * SCALE_FACTOR,
|
y: 0.58531 * SCALE_FACTOR,
|
||||||
z: 0.9264 * SCALE_FACTOR
|
z: 0.9264 * SCALE_FACTOR
|
||||||
},
|
},
|
||||||
owningAvatarID: MyAvatar.sessionUUID
|
owningAvatarID: MyAvatar.sessionUUID
|
||||||
};
|
};
|
||||||
|
|
||||||
Entities.addEntity(lanternBox);
|
Entities.addEntity(lanternBox);
|
||||||
|
|
Loading…
Reference in a new issue