Hey guys, there was such problem:
It is necessary to realise bouncing at collision of two panels. Help please?

Algorithm:
We take a corner under which ball has faced a wall, we add it to a corner of a normal and we direct a ball aside bouncing.

The scheme:
red line - norman direction
green line - ball direction for move
violet line - bouncing and next move direction




P.S. Please sorry for my bad english =)

Last edited by Lost_In_Space; 06/19/09 12:58.