Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 81 bytes modified

beta.r3js.org
-=yb4f310 2018-03-24 12:58:42 +01:00
parent 8575df533c
commit e70a03dace
1 changed files with 5 additions and 8 deletions

View File

@ -1270,15 +1270,12 @@ GameLib.CustomCode.prototype.restore = function() {
}
if (!clone.isTail) {
clone.mesh = this.createGameMesh(this.materialBreadCorner);
clone.applyToMesh();
} else {
clone.mesh = clone.backupMesh;
}
//clone.mesh.visible = false;
//clone.mesh.updateInstance('visible');
clone.mesh = this.createGameMesh(this.materialBreadCorner);
clone.mesh.visible = false;
clone.mesh.updateInstance('visible');
clone.applyToMesh();
//clone.mesh.rotation.z = clone.orientation * Math.PI / 2;
//clone.mesh.rotation.z += ((Math.PI / 2) * clone.flip);
//clone.mesh.updateInstance('rotation');