Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 4 bytes modified
parent
5edc015d0d
commit
e5c48422c7
|
@ -158,7 +158,7 @@ GameLib.CustomCode.SnakeBody.prototype.applyToMesh = function() {
|
|||
this.mesh.position.x = this.position.x + GameLib.CustomCode.GRID_OFFSET_X;
|
||||
this.mesh.position.y = this.position.y + GameLib.CustomCode.GRID_OFFSET_Y;
|
||||
|
||||
this.mesh.rotation.z = this.orientation * Math.PI;
|
||||
this.mesh.rotation.z = this.orientation * Math.PI / 2;
|
||||
|
||||
/**
|
||||
* TODO: We don't update instance position - animation should do this
|
||||
|
|
Loading…
Reference in New Issue