Hi, I’m trying to send information to FMOD from the Camera about where it is. My game is a 2.5d Platformer. Problem is, the camera is 300 away from the player-character (as it should be in a Platformer) so it’s too far for FMOD to pick up. Could someone tell me how I can add 300 to the cameras transforms z position in this line so that FMOD thinks z coordinate is equal to that of the player-character without actually changing the position of the camera. Here is the line in question.
pos = VectorConvert (this.transform.position);
The FMOD script in question is the player script which is basically the audio listener for 3D events. It tells FMODs sound system (another empty object) where the player is so that fmod can fade / filter / pan the sound appropriately. For it to pan appropriately it needs to be attached to the camera but it seems the camera is too far from the player-character to pick up the sound emitter it is approaching.
(Please don’t tell me just to use the Unity audio as I am building a sound library in FMOD and this is literally the last thing I need to fix before it works! FMOD can do a lot more than Unity (2.61) can sound wise!)
Thanks!!!