Hello!
Does anyone know whether it is possible to create a Tween object where the finish property is based on a changing variable?
_tween = new Tween(object, “x”, Regular.easeInOut, object.x, movingTarget.x, 60, false);
The idea is that finish position could be updated with each frame so that the object changes direction in the middle of the tween.
I don’t know if this is possible (or even desirable) but if it is, I’d really appreciate some advice as to where to go to look for more information on how this might done.
Thank you!
PS: I’m aware of other easing strategies that don’t use the Tween class… just wondering about how to do it with Tween at the moment.