Game Development Community

Getting the pixel position from World position

by Novack · in Torque Game Engine · 11/27/2007 (5:54 pm) · 2 replies

There is any way of do that? TGB has getWindowPoint(), something like that for TGE?

#1
11/28/2007 (3:53 am)
Novack - not sure I quite understand what you're trying to do, if it's to translate the world position to screen coords for something like the GuiTSCtrl or similar then there is the Project() function which calls the Open-GL gluProject() function.
#2
11/28/2007 (8:01 am)
Yes Andy! exactly that, thank you very much.