I have found several ways to make a sound play when the guided object or player hits another object, but the sound only plays on the first hit.
I have a number of object I want to play sound EVERY time they are hit by the guided object or player.
I have a script here which I like because it has the potential to trigger various sounds depending on the velocity of the hit, that I can figure out.
But how can I get a sound to play EVERY time the object is hit and not just the first time?
I have ploughed through Unity Answers but have not yet found one.
Thank you very much.
var impact : AudioClip;
function OnCollisionEnter (hit : Collision)
if(hit.relativeVelocity.magnitude >= 5)