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

beta.r3js.org
-=yb4f310 2017-11-07 01:26:11 +01:00
parent 951cb2b486
commit 4d07b78dc3
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ cursor.position.y = (((window.innerHeight / 2 - data.event.y)) * 0.05);
cursor.updateInstance(); cursor.updateInstance();
var thrower = GameLib.EntityManager.Instance.findComponentById('01viz3rw6l'); var thrower = GameLib.EntityManager.Instance.findComponentById('01viz3rw6l');
thrower.rotation.x = 0.5 + cursor.position.y * 0.05; thrower.rotation.x = 0.5 + cursor.position.y * 0.12;
thrower.rotation.y = Math.PI + (cursor.position.x * -0.1); thrower.rotation.y = Math.PI + (cursor.position.x * -0.1);
thrower.updateInstance(); thrower.updateInstance();