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