Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 42 bytes modified
parent
23a52db0fe
commit
e2eeee8252
|
@ -1245,12 +1245,11 @@ GameLib.CustomCode.prototype.restore = function() {
|
|||
clone.applyToMesh();
|
||||
|
||||
clone.mesh = this.createGameMesh(this.materialBreadCorner);
|
||||
clone.mesh.rotation.z = clone.orientation * Math.PI / 2;
|
||||
clone.mesh.rotation.z += ((Math.PI / 2) * clone.flip);
|
||||
clone.mesh.updateInstance('rotation');
|
||||
clone.applyToMesh();
|
||||
//clone.mesh.rotation.z = clone.orientation * Math.PI / 2;
|
||||
//clone.mesh.rotation.z += ((Math.PI / 2) * clone.flip);
|
||||
//clone.mesh.updateInstance('rotation');
|
||||
|
||||
clone.mesh.visible = true;
|
||||
clone.mesh.updateInstance('visible');
|
||||
|
||||
} else {
|
||||
clone.mesh.visible = true;
|
||||
|
|
Loading…
Reference in New Issue