From a0e2101438dba4b416e7d7f4738a297f287c00ea Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 16 Jan 2018 14:16:32 +0100 Subject: [PATCH] Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 158 bytes modified --- abw1ga2etc.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/abw1ga2etc.js b/abw1ga2etc.js index 8d22d90..082ccef 100644 --- a/abw1ga2etc.js +++ b/abw1ga2etc.js @@ -6,9 +6,17 @@ 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; + +console.log(offset); + this.animationSystem.start(); console.log('started');