I am working on a RTS game and we are using fmod for our sound system.
We have Listener object that enumerates objects on the map in certain radius. Listener’s radius is depends from the camera’s height from the terrain (that is, when camera is high above the ground radius is bigger than the radius when camera is low; yes I know this is not what happens in nature, try to tell this to our game designer). Having those objects, listener plays the sounds and sets the apropriate positions for them.
I want the sound from an object positioned on the edge of listener’s sphere to be almost silent.
Can I achieve this by changing the rolloff factor everytime the listener’s radius is changed? If so, how can I calculate this rolloff factor?
- slavomir.kaslev asked 12 years ago
- You must login to post comments