Jump to content
  • Advertisement
Sign in to follow this  
mike4

OpenAL listener position following heading degrees value

This topic is 2260 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi
how should I calculate the x value for the listener depending on the heading? I've two sounds, one in front and behind.

Frontsound



object




Backsound

the whole rotates with a given heading value in degrees. That's my problem as the heading value goes from 0 - 360'. So if the a sound is at f.ex.350' it's only hearable to 360 but not anymore at for ex. 10'
Many thanks
Michael

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!