Fmod & Unity animation sync


(Lovro) #1

Hi,

Can fmod send information such as “time remaining within a loop” to Unity? If for instance I have a conditional loop in an event which ends when a parameter is set, and I want to time the loop exit to ingame events (animations etc). It’s a fixed musical event so it can’t transition instantly when the parameter is set.


(Cameron Baron) #2

You are able to get the absolute timeline position using Studio::EventInstance::getTimelinePosition, or use markers and callbacks to know when the the event gets to a certain point but there isn’t a way to get the time left in a loop.