Maniphest T28615

3D Sound In Game Engine Not Working
Closed, Resolved

Assigned To
Joerg Mueller (nexyon)
Authored By
Janz Dott (janzdott)
Sep 11 2011, 2:54 AM
Tags
  • BF Blender
Subscribers
Janz Dott (janzdott)
Joerg Mueller (nexyon)
Marco Gaib (linny)

Description

The 3D sound & doppler effect doesn't work in the game engine. I have tried playing around with all of the settings and it does nothing. I don't know if this is a bug, or if it is a feature that just hasn't been implemented back in yet.

Event Timeline

Janz Dott (janzdott) edited a custom field.Sep 11 2011, 2:54 AM
Joerg Mueller (nexyon) added a comment.Sep 11 2011, 10:30 AM

can you please provide a test file with packed sounds? because it works perfectly here...

Joerg Mueller (nexyon) added a comment.Sep 11 2011, 10:32 AM

ah and in case you're using 2.59 or older (so no latest development build), make sure the sound file is mono and not stereo, otherwise it doesn't work as well (this changed in trunk/2.6)

Marco Gaib (linny) added a comment.Sep 12 2011, 12:10 PM

It works with recent svn version (40156). At least with a mesh. It is not working with a speaker object. But i don't know if this is the intentional behavior, as i'm not really into BGE.

Steps:
1. add a keyboard sensor to the default cube (assign a key to it).
2. connect the sensor to an "AND" controller.
3. connect the "AND" controller to a sound actuator.
4. open a sound in the sound actuator and enable 3D sound.
5. start game engine and press the assigned button.
6. the sound plays fine.

Do the same with a speaker object. Plays nothing. But i guess this is intentional?

Joerg Mueller (nexyon) added a comment.Sep 12 2011, 12:18 PM

Yes, the BGE ignores speakers. Closing.

Joerg Mueller (nexyon) changed the task status from Unknown Status to Resolved.Sep 12 2011, 12:18 PM
Philipp Oeser (lichtwerk) mentioned this in T54751: blender audio not working on linux.Apr 23 2018, 10:48 AM