Well, okay. so I have this idea.
I can calculate the ball's theta.
I can then calculate the angle distance between the ball's theta, and the spot its edge smacked the brick.
I can then multiply the cosine of this distance angle by the total movement speed of the ball.
I can then do the deflection steps, although this topic was about damage so I'll not go into detail about that here.
_______________________________________________ Audiogames-reflector mailing list Audiogamesfirstname.lastname@example.org https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector