How do I reduce the bounciness of a ball affected by gravity in .js?

Hi guys,

(Please see the picture attached) This is a ball catcher. I am having a problem with balls with a velocity hitting the rigidbody of the catcher and flying back out. Is there a way that we can reduce the bounciness of the balls when they hit this?

There is an invisible trigger above the catcher which counts the score. I have tried attaching a “reduce velocity” function to this to no avail.

Any help would be greatly appreciated.

Thanks!

[11725-screen+shot+2013-06-06+at+3.23.28+pm.png|11725]

When your balls enter the trigger , set the mass value to a higher value.

function OnTriggerEnter(other : Collider)
{
    other.rigidbody.mass = 1000;
}

Note that 1000 is any number I suggested, test some values and comment what comes up with you.