[openal] Movement by repositioning only?

Chris Robinson chris.kcat at gmail.com
Fri Feb 28 00:41:22 EST 2014


On 02/27/2014 07:45 PM, Tristan Chaplin wrote:
> Hi,
>
> This is probably a silly question, but can I just confirm that the way
> sources (or the listener) move in openAL is only by repositioning them? I
> originally that that if you set a velocity and direction the sources move
> continuously by themselves, but it seems you need a loop to reposition
> them, and the velocity and direction are just used for doppler etc effects.
> Is that correct? It's not a problem for me but I thought I should check
> that I understand the way it works.

Hi.

That's correct, sources only move when you change their position. 
Velocity is used for the doppler effect, and direction is used for the 
cones.


More information about the openal mailing list