entity tracking (sort of a radar)

Blitz3D Forums/Blitz3D Beginners Area/entity tracking (sort of a radar)

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 have a hud and want to have the ability to track selected entities via a small arrow that always points to it. The tricky part is that the arrow needs to rotate...around the center of the screen. Sort of like a compass, with an arrow at the outside edge, in the center of the screen. For example, you select an asteroid and fly away from it. The "compass" rotates and always points to the direction the asteroid is in, even if it is behind the ship. Make sense? I have no idea how to do this, just hoping someone can drum up some code or an idea for me to start with!