Answered
0
0

I’m trying to set up the spatializer and am using the following code in my Update:

        FMOD.Studio._3D_ATTRIBUTES att = new FMOD.Studio._3D_ATTRIBUTES();
        att.position.x = camera.X;
        att.position.y = camera.Y;
        att.position.z = camera.Z;
        FMOD.RESULT r = f_studio.setListenerAttributes(0, att);

but the result returns as ERR_INVALID_PARAM

Is there something I’m doing wrong here? Do I have to set something up elsewhere?

  • You must to post comments
Best Answer
0
0

Started working – I had to set the initial position before the game started updating.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.