Skip to content

Problem with CycleMode.Rewind #161

Answered by KyryloKuzyk
BaldPanther asked this question in FAQ
Discussion options

You must be logged in to vote

Hey, thanks for creating this thread. That is a very good question!

The startDelay parameter works by applying the delay at the beginning of each tween cycle. So, when you have two cycles with CycleMode.Rewind, the startDelay is applied both before the forward and backward cycles, creating the hiccup you're describing.

Sequences in PrimeTween work like a combined "timeline", so for a sequence with CycleMode.Rewind, the whole timeline is played forward, then backward. So, in the case of .ChainDelay(delay) at the beginning, such delay will be played two times: at the beginning of the forward cycle and the end of the backward cycle.

To address your specific case, this is what you probably wa…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by KyryloKuzyk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants