vector math questions

BlitzMax Forums/BlitzMax Programming/vector math questions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi all,
I'm making a 2d, top down game that works kind of like laser chess, that has laser rebounding off of mirrors.

The game requires a ricochet effect when the laser hits the mirrors. I have an incomming laser vector hitting a mirror vector. how do I figure out the outgoing recochet vector? I only need 2d vectors not 3d, but I assume the math really isn't all that different for both.

Hope this made sense, anyone done this?