- Home /
Volume Slow down and High problem
hi everyone. My first person prefab in to a vehicle. I added a Audio Source to vehicle it is done . When the first person controller get off from vehicle the Audio is stopping. But I need to slowly low down the audio source volume after get off vehicle and move away from vehicle.. can you help me?. sry about my English..
Answer by abhaychandna · Dec 17, 2017 at 09:20 AM
If i understand you correctly there is a person who when is sitting in the vehicle hears the audio and when he exits the vehicle doesn't. First of all change the spatial blend property from 0 to 1 i.e. from 2d to 3d. If you already have a camera that is attached to the player and moves as the player moves, then it should be fine as there is an audio listener already attached to the camera. If not, attach an audio listener component to your player gameobject and it should work great.
Your answer
![](https://koobas.hobune.stream/wayback/20220612144728im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Change Audio source on collision 1 Answer
I need help about audio.PlayOneShot!! 1 Answer
Unity 5 Audio Source volume falloff for mono sound without panning 0 Answers
Change Pitch on Collision 1 Answer
Sound on collision 3 Answers