For the project I'm working on, I need to make objects 'bounce' off a circle (reflect at their angle of incidence). I came up with a solution that works reasonably well, with a few odd glitches - pretty sure I could work those out. Unfortunately, it also crashes the runtime sometimes, which is a deal-breaker.
[I know, crashes are always bugs! Submitted to the tracker.]
Does anyone have an alternative method? Surely there's a neat trigonometry solution to this. Hell, I was kind of surprised it was possible to do without trig.
http://dl.getdropbox.com/u/906550/bouncetest-02.cap