Im not good at math, I could find everything so far, but not this one. And I just cant figure it out. I think Im just not seeing it. Im calculating directions, two circles collide, one has an incoming direction, and needs to get an outgoing direction.
So far I know how to get the collision point and I can calculate the incoming/outgoing angle alfa. (Calculating the angle between two lines without having to calculate the slope? (Java))
Im stuck on constructing the outgoing line and retrieving the m or a ( y = ax + b ).
So, from the picture, I know y, i, alfa and the point where all lines intersect (not marked, sorry).
Could anyone help me out? Im programming in Java.