Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 1 bytes modified

beta.r3js.org
-=yb4f310 2017-11-06 21:02:20 +01:00
parent a60ec652a8
commit def269cd9c
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
var camera = GameLib.EntityManager.Instance.findComponentById('knwkksjc7n');
camera.lookAt.x = (-1 * (window.innerWidth / 2 - data.event.x)) * 0.025;//(window.clientWidth/ 2) + data.event.x;
camera.lookAt.y = ((window.innerHeight / 2 - data.event.y)) * 0.025;
camera.lookAt.y = ((window.innerHeight / 2 - data.event.y)) * 0.04;
camera.updateInstance();