Update: CC - Before Render - Moorcow (9l6o7974qx.js) 22 bytes modified
parent
6b4e72cecd
commit
43bacd4d68
|
@ -51,11 +51,14 @@ if (
|
||||||
|
|
||||||
apiBox.materials = [this.boxMaterial];
|
apiBox.materials = [this.boxMaterial];
|
||||||
|
|
||||||
|
var speed = 0.5;
|
||||||
|
|
||||||
var box = null;
|
var box = null;
|
||||||
if (meshType === 1) {
|
if (meshType === 1) {
|
||||||
box = cow.clone();
|
box = cow.clone();
|
||||||
} else {
|
} else {
|
||||||
box = burger.clone();
|
box = burger.clone();
|
||||||
|
speed = 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
box.instance.visible = true;
|
box.instance.visible = true;
|
||||||
|
@ -70,7 +73,7 @@ if (
|
||||||
|
|
||||||
var rotation = {x : rotX, y: rotY, z: rotZ};
|
var rotation = {x : rotX, y: rotY, z: rotZ};
|
||||||
|
|
||||||
var speed = 0.5;
|
|
||||||
|
|
||||||
var enemy = {
|
var enemy = {
|
||||||
mesh : box
|
mesh : box
|
||||||
|
|
Loading…
Reference in New Issue