Target designator

Blitz3D Forums/Blitz3D Beginners Area/Target designator

Hi all.

I'm pretty new to blitz. This question was probably asked before (or everybody just knows how to do it:)), but I can't find it so:

How do I get the x,y coordinates of an 3d object on the screen (or the camera view)?

The story: I'm trying to show what entity is selected as a target by placing a box on it using drawimage.

CameraPick I believe or the ProjectedX ProjectedY etc. commands are used to convert from 3D world coords into 2D screen coords.

http://www.blitzbasic.com/codearcs/codearcs.php?code=13

wow, that was quick :)

I knew it had to be somewhere here.

Thanks a lot guys.