Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 40 bytes modified
parent
dcad45241b
commit
0c78a2625a
|
@ -183,6 +183,7 @@ GameLib.CustomCode.SnakeBody.prototype.applyToMesh = function() {
|
||||||
if (this.backupMesh) {
|
if (this.backupMesh) {
|
||||||
this.mesh.rotation.z += ((Math.PI / 2) * this.flip);
|
this.mesh.rotation.z += ((Math.PI / 2) * this.flip);
|
||||||
this.mesh.updateInstance('position');
|
this.mesh.updateInstance('position');
|
||||||
|
this.mesh.updateInstance('rotation');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue