Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 158 bytes modified

beta.r3js.org
-=yb4f310 2018-01-16 14:16:32 +01:00
parent a600ec8edd
commit a0e2101438
1 changed files with 8 additions and 0 deletions

View File

@ -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');