I’ve never used TweenLite before so I don’t know how it works. I prefer Tween.js (which I used in my Flappy Bird clone - see here for details).
However, this line looks weird:
goal.onComplete= this.animateOver(this); //<<<<<<--------goal.onComplete= this.animateOver(this);
Looks like you should be setting a callback function? But you are just calling a function that doesn’t return anything. Maybe you wanted to do this:
goal.onComplete= this.animateOver.bind(this); //<<<<<<--------goal.onComplete= this.animateOver(this);
Notice the .bind.
Anyway, when you make this change, the character just jumps from point to point instead of tweening in the first level. This is because this.myTurn is always false. In the input function, it’s set to false, but never set to true again, which prevents this clause from being called:
if(this.myTurn===true){
this.entity.setPosition(this.coordinates.x,this.coordinates.y,this.coordinates.z);
this.entity.setEulerAngles(this.rotation.x,this.rotation.y,this.rotation.z);//...and Rotation to whatever may be in Tween.
}
Hope that helps a bit.