Update: CC - SpoonLib - Mouse Up (abw1ga2etc.js) 158 bytes modified
parent
a600ec8edd
commit
a0e2101438
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue