Sound3D not working

Just starting out? Need help? Post your questions and find answers here.
User avatar
PureLeo
Enthusiast
Enthusiast
Posts: 221
Joined: Fri Jan 29, 2010 1:05 pm
Location: Brazil

Sound3D not working

Post by PureLeo »

When i try the Sound3d example that comes with PB 4.4x it doesn't seem to work as intended... no matter how far i am from the mesh, the sound keeps the same volume... maybe im doing something wrong (but im just compiling the example :S)
is it an issue with the example? could someone write a little working example based on that one?

!: btw, my "library subsystem" is set to blank or opengl, because even if dxdiag says i have directx 9.0c, it wont work to set it up to directx9 on pb
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Re: Sound3D not working

Post by Kaeru Gaman »

PureLeo wrote:!: btw, my "library subsystem" is set to blank or opengl, because even if dxdiag says i have directx 9.0c, it wont work to set it up to directx9 on pb
because since 4.40, DX9 is default Subsystem, it is applied when you enter nothing.
enter "DirectX7" to use DX7 subsystem.
oh... and have a nice day.
User avatar
PureLeo
Enthusiast
Enthusiast
Posts: 221
Joined: Fri Jan 29, 2010 1:05 pm
Location: Brazil

Re: Sound3D not working

Post by PureLeo »

hm.. ok i've tried that too... but the volume keeps the same no matter how far i am from the mesh :/
woki
User
User
Posts: 23
Joined: Fri Apr 25, 2003 4:48 pm
Location: Germany

Re: Sound3D not working

Post by woki »

You have to move the object not the camera like in the example.
User avatar
PureLeo
Enthusiast
Enthusiast
Posts: 221
Joined: Fri Jan 29, 2010 1:05 pm
Location: Brazil

Re: Sound3D not working

Post by PureLeo »

I've tried to move the entity...

Also keeps same volume :/

No working samples anybody?
woki
User
User
Posts: 23
Joined: Fri Apr 25, 2003 4:48 pm
Location: Germany

Re: Sound3D not working

Post by woki »

In the example change the line MoveCamera (...) to MoveNode (...)
User avatar
PureLeo
Enthusiast
Enthusiast
Posts: 221
Joined: Fri Jan 29, 2010 1:05 pm
Location: Brazil

Re: Sound3D not working

Post by PureLeo »

Works!

It's now like moving the object, instead of the player (camera) but i might be able to adjust that for my needs, thank you!
Post Reply