First off i wish to thank all the responders for all the help i have recieved from the forums members with my questions. I have a problem with my sound setup. When i press a key to rotate my turret on my model the sound plays but is distorted. I have to hold down the key to turn the turret I have some good sounds for this action but they sound horrible. Can someone help me with this?
here is the script i have been using.
function Update () {
if (Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.S)) {
audio.Play();
} else {
audio.Stop();
}
}
thanks
wayne