Game Development Community

World Position to Screen Position

by Chad Kilgore · in Torque Game Engine · 04/11/2007 (9:06 am) · 2 replies

Searching the forums, many people want to be know where a mouse-click is in the game world. My question, is the opposite. Is there a script function to determine the screen position of a known world object? Thanks.

#1
04/11/2007 (9:24 am)
Try looking at the GuiShapeBaseName (Think that's what it is called), since it draws the name of a player above the player/object. I've based some of my work of it and it works great.
#2
04/11/2007 (10:42 am)
There is this resource: Object selection in Torque (v1.2 onward)