Hey guys.
I can't get it together.
This is how my game currently looks
i.imgur.com/oR2SjIE.png
What I wanted to do is show a projected line for the red ball (white short line). So If change the angle the line should show the direction the red ball goes to. I thought it would be easy but I just don't know how to do it.
I think something like calculate the angle the balls are hitting each other to calculate their direction?
Ignore the green line, its just to check collision with any red ball.
Would be nice if someone has an idea which I could may understand :D
Regards,
Kraudi