diff --git a/opxis1pjmo.js b/opxis1pjmo.js index 08ed4e9..347910e 100644 --- a/opxis1pjmo.js +++ b/opxis1pjmo.js @@ -6,4 +6,11 @@ if (!this.initialized) { this.initialized = true; } -//@ sourceURL=CustomCodeSpoonLibKeyUp.js \ No newline at end of file +var mesh = GameLib.EntityManager.Instance.findComponentById('xtnu5j78bq'); + +mesh.rotation.x += data.event.deltaY * 0.01; +mesh.updateInstance('rotation'); + +console.log(data); + +//@ sourceURL=CustomCodeSpoonLibMouseScroll.js \ No newline at end of file