If the y coordinates are ever the same, you're going to run into a divide by zero operation. Not sure if that's your problem or not though.
Pointing one sprite in the direction of another
BlitzMax Forums/BlitzMax Programming/Pointing one sprite in the direction of anotherThe 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.