Gui speed display
by Ken Matlock · in Torque Game Engine · 10/01/2006 (9:13 am) · 1 replies
Did some searching on the forums and resources, and didn't find anything quite what I need, so here goes :)
I want to be able to display in a GUI control, the .linvelocity value for the Rigid shape the player is currently controlling, but I am at a complete loss on where to start.
Basically, just looking for a direction to go, to be able to have a text-based speedometer, that updates each frame (not updated via a schedule() ) (Looked at GuiTextBox, but unsure how to get that updated each frame from C code)
Preferrably, in something like a 3.2 or 4.2 format.
Any tips on where to look, as all my usual search-fu has failed me today :)
Thanks!
I want to be able to display in a GUI control, the .linvelocity value for the Rigid shape the player is currently controlling, but I am at a complete loss on where to start.
Basically, just looking for a direction to go, to be able to have a text-based speedometer, that updates each frame (not updated via a schedule() ) (Looked at GuiTextBox, but unsure how to get that updated each frame from C code)
Preferrably, in something like a 3.2 or 4.2 format.
Any tips on where to look, as all my usual search-fu has failed me today :)
Thanks!
Torque 3D Owner Ken Matlock