Heyo!
I've got a lot of cutscenes with moving cameras and stuff and in those scenes, speech emitting from the characters just doesn't work for me, since the camera at times is way too far or too close to the character. Is there some way to override the audio source of the character's speech temporarily? I just want non-3d positioned audio for these lines of dialogue.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
As a temporary solution I killed the cameras audio listener and put it next to my characters instead.. but in the long run that's a pretty weird solution...
You can modify which AudioSource a character uses by re-assigning their speechAudioSource variable.
However, it's also possible to simply alter the existing AudioSource's spatial blend property, so that an existing AudioSource can play in 2D for a time.
Here's a custom Action (ActionCharAudio.cs) that should allow you to set this blend amount in an ActionList:
Cool, thank you, I'll try this!