The project Im currently working on requires me to have bouncing ball. I
know some basic vector math but haven't been able to find how to do what I
want. Cue -=bad=- ASCII diagram :o)
OK I have a multisided 2d poly and I want to make a ball bounce
realistically around the inside of the poly:
________________
/ \
/ \
/ \
/ O \
\ /
\_________________/
So what I need to know is how to calulate the new vector once the ball
collides with one of the lines. Im guessing it'll have something to do with
the normal of each line??
Thanx in advance :o)