Mouse shooting and leading target

Blitz3D Forums/Blitz3D Programming/Mouse shooting and leading target

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,
does anyone have any code for mouse shooting (ie shooting shots in 3d space towards where the mouse cursor is at). Also a leading target function would be a great help, ie where to shoot to hit the target ship. Thanks in advance.