Panting sounds while sprinting
I want my player character to make panting sounds (which I've recorded) while sprinting, and then catch his breath upon stopping. I can't seem to get it to work. So far all I can get it to do is automatically play both sounds when the shift key is pressed, regardless of whether I'm moving. I also don't know how to make the initial panting sound stop when the shift key is released.
EDIT: Forgot to mention, my game is in first person.
Follow this question
Once you sign in you will be able to subscribe for any updates here