how can I stop lemur animation?
Tween move1 = SpatialTweens.move(source, source.getLocalTranslation(), target.getLocalTranslation(), this.speed);
Tween overall = Tweens.sequence(move1);
anim.add(overall);
how can I stop lemur animation?
Tween move1 = SpatialTweens.move(source, source.getLocalTranslation(), target.getLocalTranslation(), this.speed);
Tween overall = Tweens.sequence(move1);
anim.add(overall);
Just go a little bit more…
Tween move1 = SpatialTweens.move(source, source.getLocalTranslation(), target.getLocalTranslation(), this.speed);
Tween overall = Tweens.sequence(move1);
Animation myAnim = anim.add(overall);
...
anim.cancel(myAnim);