This will take 2 angles, the angle of one object pointing into another, and the angle the object being hit is currently at, and will transfer it into a new angle, one that bounced in the proper direction.