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