I am making a ping pong mini game and am having trouble with the right bounce calculations. (Refer to my attachment) The wall is actualy a region, when a ball enters it i want to know how i would calculate the angle between the wall and the facing of the ball (angle a), and then make it so when the ball bounces off (angle b) it is the same angle.

So im looking for a bounce...formula... help lol.

Sorry for the messy explanation the idea is kinda jumbled.

So im looking for a bounce...formula... help lol.

Sorry for the messy explanation the idea is kinda jumbled.