- Home /
Footstep Sounds
I'm using some footstep sounds here and have things the way i'd like in terms of sound randomization, timing, etc... my problem is that the VOLUME always seems to be the same, even if I set volumn = 0.15f or something suitable low.
Is there something else i'm missing here? I'd like my footsteps to have a much more muffled/quiet sound to them.
If you're at a 2d sound, scroll down to the audio rolloff curve and adjust the distance parameter to be smaller or larger and the curve to match something more realistic.
Here is what I'm seeing for the audio clip itself: http://screencast.com/t/2g4IxDpd9H .
Don't see anything but rolloff$$anonymous$$ode off the AudioSource, for that I've tried exponential and linear.
Answer by Griffo · Feb 01, 2013 at 06:54 AM
I use a custom rolloff with a distance of 50, and in my script -
audio.volume = 0.5;
turns out not only this but "AudioSource::maxDistance / AudioSource::$$anonymous$$Distance" are what i'm looking for :).
Your answer
Follow this Question
Related Questions
Is there a way to create a random Audiosource loop? 2 Answers
Music Visualiser Troubles 0 Answers
Multiple audioSources on same gameObject? 1 Answer
Audio.Play() not showing up 1 Answer