Sound::GetSoundVelocity
Defined in:
Returns a sound's 3D velocity.
C4Sound.h
Prototype
const Vector3D& GetSoundVelocity(void) const;
Description
The GetSoundVelocity
function returns the world-space velocity of the sound in units of meters per second. The listener's velocity is subtracted from the sound's velocity in order to calculate the Doppler effect. The initial velocity is the zero vector.
See Also