angle help please

BlitzMax Forums/BlitzMax Programming/angle help please

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.

I need to know the angle between a car facing at a certain angle and another car(doesnt matter what direction the second car is facing)

So for example If I have a car at 2x,3y
and another car at 1x,1y

car 1 is facing at a 90 degree angle.

so how far does car 1 have to turn to face car 2

I tried using some vector modules in the code archives but the results always turn out wrong