I’m looking for a way to know at what point in time a value is when I run a tween. Let’s say for example, that I move something from a position to another with MoveTo, I’d like to use the actual position of the object while the iTween is running and use it as a parameter in a function without relying on transform.position of my gameObject. Since the tween computes it, it could give me this data directly. Is there a way to do that?
I think your best best would be using iTween’s “onUpdate” callback an just having the function you call retrieve the object’s position. iTween doesn’t have any “tell me about the current running iTween” possibilities. When I start working on iTween 3 I’ll put that on the list.
That’s exactly what I was thinking of doing… Thank you!