Coder's Guild Mailing List

Vectors and not collisions!

Posted by christopher.lambell on 2001-01-08

Fox, 

I dont know about collisions, but I presume by vectors your talking about
angle and magnitude from an origin? (polar form), If so it normal to use
vectors in rectangular or rather complex form i.e. A + jB, and if I remember
correctly there is a c++ header file for operating upon complex numbers. By
using this method you can mathematically act upon the vectors by multiplying
them certain matrices. After this it is down to your maths.

Hope this helps 

chris