Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 0 bytes modified
parent
951cb2b486
commit
4d07b78dc3
|
@ -13,7 +13,7 @@ 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.x = 0.5 + cursor.position.y * 0.12;
|
||||
thrower.rotation.y = Math.PI + (cursor.position.x * -0.1);
|
||||
thrower.updateInstance();
|
||||
|
||||
|
|
Loading…
Reference in New Issue