Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 71 bytes modified
parent
765dd5b0bf
commit
bf60182b5b
|
@ -95,8 +95,6 @@ GameLib.CustomCode.prototype.createGameMesh = function(image) {
|
|||
*/
|
||||
this.meshEnd = this.createGameMesh(this.imageEnd);
|
||||
this.meshEnd.useQuaternion = false;
|
||||
this.meshEnd.rotation.z = Math.PI / 2;
|
||||
this.meshEnd.updateInstance('rotation');
|
||||
|
||||
this.meshPatty = this.createGameMesh(this.imagePatty);
|
||||
this.meshBodyPatty = this.createGameMesh(this.imageBodyPatty);
|
||||
|
@ -126,7 +124,7 @@ GameLib.CustomCode.SnakeBody = function(
|
|||
this.position = position;
|
||||
|
||||
if (GameLib.Utils.UndefinedOrNull(rotation)) {
|
||||
rotation = 0;
|
||||
rotation = Math.PI / 2;
|
||||
}
|
||||
this.rotation = rotation;
|
||||
|
||||
|
|
Loading…
Reference in New Issue