Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 34 bytes modified
parent
4e528b3a7e
commit
5089dbf9d1
|
@ -22,9 +22,13 @@ cursor.updateInstance();
|
||||||
|
|
||||||
var thrower = GameLib.EntityManager.Instance.findComponentById('01viz3rw6l');
|
var thrower = GameLib.EntityManager.Instance.findComponentById('01viz3rw6l');
|
||||||
|
|
||||||
//thrower.instance.lookAt.x = cursor.position.x;
|
thrower.instance.lookAt(
|
||||||
//thrower.instance.lookAt.y = cursor.position.y;
|
new THREE.Vector3(
|
||||||
//thrower.instance.lookAt.z = cursor.position.z;
|
cursor.position.x,
|
||||||
|
cursor.position.y,
|
||||||
|
cursor.position.z
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
//thrower.rotation.x = 0.5 + cursor.position.y * 0.12;
|
//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);
|
||||||
|
|
Loading…
Reference in New Issue