FMOD Global/Local Automation Help
Hello,
I’m currently working a prototype of a puzzle game using FMOD/Unity that heavily utilises time/gravity manipulation.
As Time Dilation (TD) of objects is global in-game, I‘m currently using a global parameter between 1 and 0 to automate a pitch shift on a bus to adjust the playback speed of TD-effected events. However, a new feature being added is that some objects are not effected by Global TD - to account for this this I added a pitch shift going the opposite way an equal amount to cancel out the Global TD, controlled by a local parameter.
Now we’re adding another feature to “time lock” objects, keeping them at a specific TD value and therefore ignoring Global TD. My current approach is to duplicate all the events, send them through a separate bus, remove the global TD automation from them and add a local TD parameter. Our programmer has built a system in Unity that detects whether or not the object is time locked, and plays either the globally or locally automated event.
However, I’m aware pitch shifting is on the more expensive end of FMOD’s effects, and as it’s a physics heavy game anyway I’m worried about performance. Also it seems excessive to have global, local and global-countering TD parameters. As far as I know, my options are to:
Keep the project as is
Have only 1 event with a DIY Wwise Switch Container, using a parameter to choose whether the tracks with Local or Global automation play
Have the same thing as above but use 2 different Sends instead of different tracks
Delete Global TD entirely and just have a single Local TD parameter on every event (although this would mean regularly automating a local parameter for every event individually, which I would guess is more expensive than automating a bus globally? But not 100% if this is the case)
I’d be very grateful if any FMOD Wizards could give me any tips on how to approach this project to get the best possible performance.