[Openal] AL_DIRECTION // rotating source
bxcvs at yahoo.com
Wed Jun 13 23:42:58 PDT 2012
pPsi is the heading angle in degrees. I set soundpositions:
float hdgPv = fmod(pPsi + 180, 360);//front x position
float hdgPh = fmod(pPsi, 360);//back
alSource3f(Sources, AL_POSITION, hdgPv/10, lY/10, lZ/10); //front
now attenuation is fine for back but for front I get a interruption
when angle goes from 360 - 0. Any
idea on how to fix that? I was also looking for AL_DIRECTION but
couldn't find any solution.
View this message in context: http://old.nabble.com/AL_DIRECTION----rotating-source-tp34010052p34010052.html
Sent from the OpenAL - User mailing list archive at Nabble.com.
More information about the Openal