Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Adding Attenuation Object for FMOD Listener #243

Open
Wardius opened this issue Aug 27, 2024 · 0 comments
Open

Feature Request: Adding Attenuation Object for FMOD Listener #243

Wardius opened this issue Aug 27, 2024 · 0 comments

Comments

@Wardius
Copy link

Wardius commented Aug 27, 2024

A field for the Attenuation Object would be nice for the FMOD Listener (https://www.fmod.com/docs/2.02/api/studio-api-system.html#studio_system_setlistenerattributes)

Unity has something like this as well:
Screenshot 2024-08-27 094826

For example: In Third-Person games you want the listener to detect sound directions from the camera perspective, but the volume of a sound should be defined by the distance the player character has to the sound.

Current workaround:
Add one child RemoteTransform to the player character and one to the camera. Then set the RemotePath of the RemoteTransforms to an FMOD Listener.
The RemoteTransform of the player should update only the position (in global coordinates), the RemoteTransform of the camera should only update the rotation (in global coordinates).
This can be achieved by the checkboxes in the RemoteTransform Inspector, no code needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant