Problem with Collider

Hi guys, It´s me again

Again some problems occured. I have 2 Spheres. When they collide, a sound should be triggered. Something like that

#pragma strict

 

var flush:AudioClip;

 

function  OnTriggerEnter(Collider: Collider)

 

 

{

 

audio.PlayOneShot(flush);

}

The Spheres have its own collider and rigidbody. When I put the one Shpere over the other and press play, the sound appears properly. The problem is, that I have to set them to “Is trigger” and at this point, the Sphere falls under the map.

I fixed the problem with adding a second collider, but are their other ways to fix this problem ?
I don´t know what I should do

I have a second question, I hope this is makeable:

The volume should be adapt to the strenth of the collision. ( Something with the speed). And is it possible to use different sounds for different surfaces ?