Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 6 bytes modified
parent
464f11e7ee
commit
9842a2799a
|
@ -213,9 +213,9 @@ GameLib.CustomCode.SnakeBody.prototype.applyToMesh = function() {
|
|||
* TODO: We don't update instance position - animation should do this
|
||||
*/
|
||||
// this.mesh.updateInstance('position');
|
||||
if (!this.isTail) {
|
||||
//if (!this.isTail) {
|
||||
this.mesh.updateInstance('rotation');
|
||||
}
|
||||
//}
|
||||
}
|
||||
|
||||
GameLib.CustomCode.SnakeBody.prototype.advance = function(orientation, flip) {
|
||||
|
@ -469,7 +469,7 @@ GameLib.Event.Subscribe(
|
|||
//this.snake[2].mesh.instance.add(this.snake[3].mesh.instance);
|
||||
this.animation.meshes.push(this.snake[3].mesh);
|
||||
|
||||
this.animationRotation.meshes.push(this.snake[3].mesh);
|
||||
//this.animationRotation.meshes.push(this.snake[3].mesh);
|
||||
|
||||
/**
|
||||
* Cleanup grid
|
||||
|
|
Loading…
Reference in New Issue