Game Development Community

Placing textfield in worldunits?

by WDDG · in Torque Game Builder · 03/21/2006 (12:43 pm) · 3 replies

Is there any built in method for this? It seem's using setposition on any kind of guitext element it places it using pixel instead of t2d world units.

#1
03/21/2006 (12:56 pm)
You can use yourSceneWindow.getWindowPoint( %worldPoint ) to transform world coordinates to window coodinates.
#2
03/22/2006 (6:09 am)
Man, t2d sure is powerful and well thought out. If only the documentation would catch up to the software.
#3
03/22/2006 (6:50 am)
The reference.pdf under documentation/reference/ is a very useful document. I always have it opened in background when scripting.