That is very hard to do unless you know all the angles of both objects. I have a game which a ball bounces of the walls. It is about 75% accurate and the ball never gets stuck in the wall. here is the link download it to find out how to do it on your own game. http://scratch.mit.edu/projects/what-the/714142. It involves using a lot of if's and to get it 100% accurate you would need an if for eeach direction (so 360 if statements)
Offline