Target designator

Blitz3D Forums/Blitz3D Beginners Area/Target designator

larsalt(Posted 2004) [#1]
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.


_PJ_(Posted 2004) [#2]
CameraPick I believe or the ProjectedX ProjectedY etc. commands are used to convert from 3D world coords into 2D screen coords.


Rob Farley(Posted 2004) [#3]
http://www.blitzbasic.com/codearcs/codearcs.php?code=13


larsalt(Posted 2004) [#4]
wow, that was quick :)

I knew it had to be somewhere here.

Thanks a lot guys.