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?