if anyone can help i would appreciate it. i have the following problem:
i set all sounds to play on hardware, 3d, no looping. so far so good. sound is updated right, i can hear the sound when i turn "my head". but i really need attenuation so i set the channel flag to fmod_3d_linearrolloff with 100 as minimum and a number over 1000 as maximum. now attenuation works perfectly but sound does not update, i hear it like it would be 3D_HEAD_RELATIVE, in both speakers no matter what position.
Nevermind about this, i figured it out. The rolloff system and pan system don’t seem to work with each other so i let the rolloff to default and set minmax distances as if they were working and i manualy calculated the distance between the source and the listener and adjusted the volume accordingly. Someone from FMOD should check the rolloff out.
- MekNaan asked 10 years ago
Rolloff doesnt affect anything if linear mode is used. That is only for log rolloff mode.
Are you using the dev branch or the stable branch? There is possibly a fix in dev branch related to this but I can’t remember just now, i’m not at the office.
Please login first to submit.