Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 65 bytes modified
parent
6fbf671bc0
commit
76b6687c86
|
@ -265,11 +265,13 @@ GameLib.CustomCode.SnakeBody = function(
|
|||
}
|
||||
this.mesh = mesh.clone();
|
||||
this.mesh.useQuaternion = false;
|
||||
this.mesh.visible = true;
|
||||
|
||||
this.mesh.position.z = GameLib.CustomCode.SnakeBody.LastZ;
|
||||
GameLib.CustomCode.SnakeBody.LastZ += 0.1;
|
||||
|
||||
this.mesh.updateInstance('position');
|
||||
this.mesh.updateInstance('visible');
|
||||
|
||||
if (GameLib.Utils.UndefinedOrNull(position)) {
|
||||
position = {
|
||||
|
|
Loading…
Reference in New Issue