r3-custom-code/opxis1pjmo.js

16 lines
316 B
JavaScript
Raw Normal View History

if (!this.entityLoaded) {
return;
}
if (!this.initialized) {
this.initialized = true;
}
var mesh = GameLib.EntityManager.Instance.findComponentById('xtnu5j78bq');
mesh.rotation.x += data.event.deltaY * 0.001;
mesh.updateInstance('rotation');
//console.log(data);
//@ sourceURL=CustomCodeSpoonLibMouseScroll.js