Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 28 bytes modified
parent
86ff004807
commit
7d823adb51
|
@ -1270,12 +1270,13 @@ GameLib.CustomCode.prototype.restore = function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
clone.mesh = this.createGameMesh(this.materialBreadCorner);
|
if (!clone.isTail) {
|
||||||
|
clone.mesh = this.createGameMesh(this.materialBreadCorner);
|
||||||
|
clone.applyToMesh();
|
||||||
|
}
|
||||||
//clone.mesh.visible = false;
|
//clone.mesh.visible = false;
|
||||||
//clone.mesh.updateInstance('visible');
|
//clone.mesh.updateInstance('visible');
|
||||||
|
|
||||||
clone.applyToMesh();
|
|
||||||
//clone.mesh.rotation.z = clone.orientation * Math.PI / 2;
|
//clone.mesh.rotation.z = clone.orientation * Math.PI / 2;
|
||||||
//clone.mesh.rotation.z += ((Math.PI / 2) * clone.flip);
|
//clone.mesh.rotation.z += ((Math.PI / 2) * clone.flip);
|
||||||
//clone.mesh.updateInstance('rotation');
|
//clone.mesh.updateInstance('rotation');
|
||||||
|
|
Loading…
Reference in New Issue