Sign in to follow this  

Tween duration precision?

Recommended Posts

I'm trying to sync a looping tween to a beat, by calculating the tween duration (therefore, the interval) from the BPM. But it's always off-sync! I investigated a bit by subtracting small values to see if I reach some kind of "fake sync", but it turns out the tween seems to be incremental (maybe with the frame updates?), and that won't do. Should I try using the Timer instead or there's a better way?

Share this post

Link to post
Share on other sites

It's likely. From my testing (as I said, the duration, or at least the looping, seems to be incremental), it appears that the tween loops starting with a frame update.

I ended up using the Timer instead, that did the trick.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.