So I'm trying to create a rhythm game but can't get it to work properly. I searched the forum and seems people have had issues with before. I looked at the example files (the rhythm game ones), and I'm using the same method.
Basically, I have audio playing that is exactly 9.6 seconds long, set to looping. Alongside this I have a graphical object that rotates using a tween so it does 360 in 2.4s (1 bar), also looping. It works at first, but after a few minutes it starts to drift and eventually goes out of sync, and I've tried everything to get it to work. I tried resetting the tween so a new one is created each 2.4 instead of 1 continuously loop, or the tween restarting each time the music file loops, but to no avail.
I also tried having several separate audio tracks play at the same time, but they remain in perfect sync.
Basically, is there a reliable way to move an object in sync with audio, for longer times?