Sign in to follow this  
Daivuk

OpenAL relative

Recommended Posts

Daivuk    413
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this