Update: CC - SpoonLib - Mouse Wheel (opxis1pjmo.js) 1 bytes modified
parent
d4f07a906a
commit
a1c53308fc
|
@ -8,7 +8,7 @@ if (!this.initialized) {
|
||||||
|
|
||||||
var mesh = GameLib.EntityManager.Instance.findComponentById('xtnu5j78bq');
|
var mesh = GameLib.EntityManager.Instance.findComponentById('xtnu5j78bq');
|
||||||
|
|
||||||
mesh.rotation.x += data.event.deltaY * 0.01;
|
mesh.rotation.x += data.event.deltaY * 0.001;
|
||||||
mesh.updateInstance('rotation');
|
mesh.updateInstance('rotation');
|
||||||
|
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
Loading…
Reference in New Issue