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

beta.r3js.org
-=yb4f310 2018-03-24 12:24:29 +01:00
parent 5edbb1aec0
commit 4495fdd2e7
1 changed files with 2 additions and 0 deletions

View File

@ -1246,6 +1246,8 @@ GameLib.CustomCode.prototype.restore = function() {
clone.backupMesh.position.z = 0.1;
clone.backupMesh.rotation.z = clone.orientation * Math.PI / 2;
clone.backupMesh.rotation.z += ((Math.PI / 2) * clone.flip);
clone.backupMesh.updateInstance('rotation');
clone.backupMesh.updateInstance('visible');