0
0

Hello,

I’m currently doing 3d sound for a 2D game project and I need to have sounds that follow the listener. Right now I’m loading in the sounds with the FMOD_3D_HEADRELATIVE flag set. However, when I do this the sound is significantly lower than if I play the sound at the listener manually by setting their positions equal to each other. Is there anything special that I should be doing with the head relative flag?

  • You must to post comments
0
0

I tested this and it is working as expected for me. The head relative flag causes the sound to be positioned relative to the listener. So if you give them the same positions manually they are in fact in different positions in world space (unless the listener is at the origin).

for example:
listener : [5.0, 0.0, 0.0]
head relative sound [5.0, 0.0, 0.0]

That would make the real position of the event [10.0, 0.0, 0.0]. If you want to put the head relative sound on top of the listener you would set it’s position to [0.0, 0.0, 0.0].

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.