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

beta.r3js.org
-=yb4f310 2018-03-23 13:38:21 +01:00
parent eca24d4667
commit 57c9103067
1 changed files with 4 additions and 2 deletions

View File

@ -1128,8 +1128,8 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
body.mesh = this.createGameMesh(this.materialBreadCorner);
body.mesh.position.x = backup.position.x;
body.mesh.position.y = backup.position.y;
//body.mesh.position.x = backup.position.x;
//body.mesh.position.y = backup.position.y;
body.mesh.position.z = 5;
body.mesh.updateInstance('position');
@ -1137,6 +1137,8 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
body.mesh.visible = true;
body.mesh.updateInstance('visible');
body.applyToMesh();
}
this.explode(body.position);