Scripts to calculate the direction a ball should bounce off a flat surface. requires direction of ball and direction of wall.
Fell free to use and improve