diff --git a/9l6o7974qx.js b/9l6o7974qx.js index 810a14a..b4f686e 100644 --- a/9l6o7974qx.js +++ b/9l6o7974qx.js @@ -51,11 +51,14 @@ if ( apiBox.materials = [this.boxMaterial]; + var speed = 0.5; + var box = null; if (meshType === 1) { box = cow.clone(); } else { box = burger.clone(); + speed = 0.3; } box.instance.visible = true; @@ -70,7 +73,7 @@ if ( var rotation = {x : rotX, y: rotY, z: rotZ}; - var speed = 0.5; + var enemy = { mesh : box