Do anyone have a code that makes a ball bounce realistic with hitTest(x,y,true)? I would need that, and I've tried to make it for one year now.

Please help!