From 951cb2b4864091eff19375e84baee601cc5166e9 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 7 Nov 2017 01:05:06 +0100 Subject: [PATCH] Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 217 bytes modified --- fsilsam72g.js | 5 +++++ 1 file changed, 5 insertions(+) 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