diff --git a/lwk5t658ne.js b/lwk5t658ne.js new file mode 100644 index 0000000..fbc03e8 --- /dev/null +++ b/lwk5t658ne.js @@ -0,0 +1,13 @@ +var mesh = GameLib.EntityManager.Instance.findComponentById('5odj0hpf2z'); + +if (!this.initialized) { + this.initialized = true; + this.time = 0; +} + +if (mesh) { + this.time += data.delta; + mesh.rotation.y = Math.sin(this.time); + mesh.updateInstance('rotation'); +} +//@ sourceURL=CustomCode (lwk5t658ne).js \ No newline at end of file