Help with angles please!

BlitzMax Forums/BlitzMax Beginners Area/Help with angles 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'd do what LarsG suggests although doesn't need the sqr as we're going for closest rather than actual distance.
You'd then need atan2 and 'homing' missile code to move from your target to destination point.