Need something like fast forward for transition function...

Hi 

I know that transition can be delayed by using delay parameter in transition.to function.

But is it possible to fast forward transition to make it starts, let’s say, in the middle of defined time?

I want to have a scene where many objects share the same transition speed but some of them are already traveling and some of them are at the beginning of the transition…

Thanks

I don’t believe that we do, but you could change the variables that determine the starting values before you run the transition.  I’m not sure exactly what you’re trying to do but you could do:

transition.to(objectA, { time=5000, x = 500 })

transition.to(objectB, { delay = 2500, time = 2500, x = 250 })

Thanks Rob,

This works only if easing is linear. It is quite hard to calculate starting position for other types of easing. Especially if you want to start from more exotic position than it is the middle of transition…

I don’t believe that we do, but you could change the variables that determine the starting values before you run the transition.  I’m not sure exactly what you’re trying to do but you could do:

transition.to(objectA, { time=5000, x = 500 })

transition.to(objectB, { delay = 2500, time = 2500, x = 250 })

Thanks Rob,

This works only if easing is linear. It is quite hard to calculate starting position for other types of easing. Especially if you want to start from more exotic position than it is the middle of transition…