I have a probably dumb question.
I'm trying to create a LoadingCircle so I just picked one image (you can see in the attachment) and made some sequences to rotate it:
Tween.to(loadingCircle, SpriteAccessor.ANGLE, 1f).targetRelative(25).repeatYoyo(Tween.INFINITY,0).start(tweenManager);
And SpriteAccessor:
case ANGLE:
returnValues[0] = target.getRotation();
case ANGLE:
target.setRotation(newValues[0]);
It rotates of course, but 'to()' method gets the 'time' parameter. Now, the animation rotates the image, but slows down and stops rotating after the given time and starts from the beginning - speeds up and again - slows down.
Is it possible somehow to set the rotation to be continous, that it won't slow down and repeat the action? It's caused by the interpolation I think.
If you could point me the way I would be grateful!