# OpenAL relative

## Recommended Posts

I dont know if there is the right place to post this thread. I'm makin a FPS game. I have a gun and when I shoot the sound dont always follow the camera. That is a normal effect. I have to set my sound Relative to the listener. :
alSourcef(source, AL_SOURCE_RELATIVE, AL_TRUE);


Its relative, but the position seems to be wrong now :( I tried differents position, and its like I'm at -75 on X axis. Something like that. I didnt found the exact position lol. I'm using right-handed coordinate like default in openAL. Does someone got the same problem? Thanks

## Create an account

Register a new account

• ## Partner Spotlight

• ### Forum Statistics

• Total Topics
627682
• Total Posts
2978622

• 9
• 14
• 12
• 10
• 12