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

Various potential merges to cherry pick. #74

Open
wants to merge 5 commits into
base: 2.02-UE5.1
Choose a base branch
from

Conversation

AgentMilkshake1
Copy link

Exposed Occlusion details on the PlayEventAttached blueprint callable function.

Exposed Occlusion details on the PlayEventAttached blueprint callable function.
…gh to FMOD

Listener Attenuation is now set by default to the Player Controller "Controlled Pawn" PawnViewPoint. This is overrideable on pawns. For example in a third person game, you might want the panning to be at the camera location, but the attenuation to be from the character's head location, meaning that a world sound doesn't get louder and quieter just from orbiting the camera around the controlled pawn.
…erface to allow for virtual overrides.

Changed FMODAudioComponent.h access specifiers for ActorComponent interface from private to protected to allow for virtual overrides.
@AgentMilkshake1
Copy link
Author

Forgive me - I'm getting used to how Github does pull requests.

I've accidentally committed multiple changes here. The 2 I'm primary interested in committing are d5dd167 for changing access specifiers for ActorComponent interface, and potentially 54f48c9 if occlusion details for PlayEventAttached is desired.

…n simulating in editor.

By default, FMOD doesn't allow for flying around in editor to hear the world sounds. This change allows for the editor viewport position to be used as the world listener position during UpdateListeners so that audio designers can fly around their worlds in simulation to hear things properly.
In addition to a previous CL for allowing audio in viewports during "simulation". This CL ensures that only the active viewport (if multiple are open) during simulation updates the listener Transform.
@AgentMilkshake1 AgentMilkshake1 changed the title Exposed Occlusion details for PlayEventAttached. Various potential merges to cherry pick. Nov 16, 2022
@AgentMilkshake1
Copy link
Author

The final 2 commits here allow for the editor viewport camera to act as the listener position during simulation (with only the active viewport setting the transform in the case that multiple viewports are open).

@Connor-FMOD
Copy link

Hi,

Thank you for the suggestions, we really appreciate all the ideas! I will pass them on to our development team to look into further!

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

Successfully merging this pull request may close these issues.

2 participants