- Home /
Tween progress in iTween
Is there a way to check current tweening progress using iTween? Also would be very useful to set up the event on some of the point.. Is it possible also?
I mean something between start and finish. For example I need to check where I am exactly at current time somewhere in a middle of animation
No you can't. By the way, why you want this ?? Is it not be illogical ??
Answer by _Game_Dev_Dude_ · Nov 18, 2015 at 01:38 PM
Depending on which function in iTween you are using you can set an OnUpdate Callback function in the Hashtable parameters. This function is called every update for the given tween movement and you can then manually calculate how far along it is. With this info you could then set up a system to do certain things at certain times, etc.
Your answer
Follow this Question
Related Questions
loop a chain of iTween actions 0 Answers
iTween's inaccuracy of final position 2 Answers
iTween.PutOnPath similar function for LeanTween or DoTween 1 Answer
save, autosave and continue game.. 1 Answer