Angle stuff yet again

BlitzMax Forums/BlitzMax Programming/Angle stuff yet again

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. Im having a robot at a given world position and a mouse controlled target object at another position. I want to know the angle between the robot and the target so I can rotate the object to face the target cursor.

I've tried a few solutions posted here, but none of them work.
Anyone?