i've done a quick demo of collision with trigonometry.
here you go.
to get the collisions or rather the bounces realistic, you'l need to look at the angle ball B is to A, then find the angle ball A's path is (left right, no up/down is 90 degrees) then use some maths to calculate the new angle then from that work out the co ordinate ratios (amount moving x and y) based on a set speed.
i was trying to do it then realised i have my own work to do! lol good luck!
Thanks, but that's not what I need. I know how to make ball vs ball collision.
I want to know how I can make this[http://www.harveycartel.org/metanet...utB_demo04.html] with hitTest - ball vs that kind of ground.