if (!this.entityLoaded) { return; } if (!this.initialized) { this.animationSystem = this.entityLoaded.animationSystem; this.cylinder = this.entityLoaded.cylinder; this.initialized = true; } var currentRotation = this.cylinder.rotation.x; var offset = currentRotation / 0.4488; var integer = Math.floor(offset); var remainder = offset - integer; console.log('offset:' + offset + ', remainder: ' + remainder); this.animationSystem.start(); console.log('started'); //console.log(data); //@ sourceURL=SpoonLibMouseUp.js