diff --git a/fsilsam72g.js b/fsilsam72g.js index 3e17c1a..2a00546 100644 --- a/fsilsam72g.js +++ b/fsilsam72g.js @@ -12,4 +12,9 @@ cursor.position.x = (-1 * (window.innerWidth / 2 - data.event.x)) * 0.025; cursor.position.y = (((window.innerHeight / 2 - data.event.y)) * 0.05); cursor.updateInstance(); +var thrower = GameLib.EntityManager.Instance.findComponentById('01viz3rw6l'); +thrower.rotation.x = 0.5 + cursor.position.y * 0.05; +thrower.rotation.y = Math.PI + (cursor.position.x * -0.1); +thrower.updateInstance(); + //@ sourceURL=mouseMove.js \ No newline at end of file