Automation Setup:
Once the timeline was setup and implemented in Unity, the call was to decide how to implement the actual “Automation”
The idea to use Track Field as the foundation meant having the ability to store the automation information ( fv/p(time) := value ) for both volume and panning. The thought of using FMOD itself as the storage container was ruled out since writing out the automation data to FMOD through it’s API was difficult.
Animation Curve was the answer to this problem. Since the mapping of world position to the Volume and Panning was already achieved in a previous prototype, the only thing left was to store this world position data in the curve over time and in turn use that to playback when guests record and playback the animation. Each track in Unity has extra information and 3 Unity Animation Curves that store the (x,y,z) world position vector.
Once the guest presses the “record button”, the keyframes, or rather the stars of the constellation, are created and stored in the Animation Curve for that track and if the track has keys, it follows how the curve defines it.