Sound gets interrupted once bullet gets destroyed.
Hi, i want to do a bullet that makes a sound when instantiated, but my problem is when I instantiate the bullet that has an audio source set to PlayOnAwake on it and the bullet collides with something,the audio clip gets interrupted(destroyed with it). How can I play a audio clip that doesn't get destroyed when the bullet collides with something? Tried AudioSource.PlayOneShot and AudioSource.PlayClipAtPoint also tried doing a empty object and setting it as a parent of that bullet , but when the bullets gets instantiated the sound doesn't update the position where the bullet currently is(it just stays at the instantiated position instead following the bullet).
Your answer
Follow this Question
Related Questions
My sound effect is not playing 0 Answers
Unity Build ignores audio spread 1 Answer