Added animation on coin got

This commit is contained in:
Thomas FORGIONE
2015-07-07 10:19:49 +02:00
parent 24765a4687
commit edffd21eb7
4 changed files with 156 additions and 138 deletions

View File

@@ -439,7 +439,7 @@ L3D.PointerCamera.prototype.move = function(recommendation, toSave) {
if (toSave === undefined)
toSave = true;
var otherCamera = recommendation.camera;
var otherCamera = recommendation.camera || recommendation;
this.moving = true;
this.new_target = otherCamera.target.clone();
@@ -468,7 +468,7 @@ L3D.PointerCamera.prototype.moveHermite = function(recommendation, toSave) {
if (toSave === undefined)
toSave = true;
var otherCamera = recommendation.camera;
var otherCamera = recommendation.camera || recommendation;
this.movingHermite = true;
this.t = 0;