So I'm making a game, in which it is required to get a ball to a certain location while trying to get there with as little as possible bounces. To do that I presumably need to measure all the times the ball bounces off the wall. (bouncing occurs through the bullet behaviour).
The problem is that I don't have a clue how I could possibly do that.. any help maybe? If anythings unclear, just ask and I'll try to explain better