Arrow to checkpoint
by Neil Marshall · in Torque Game Engine · 09/04/2003 (6:32 pm) · 5 replies
I have a series of checkpoints (Triggers) layed out on my map and I want to do what standard racing games do, place an arrow at the top of the screen pointing to where you should be travelling.
I haven't been able to find anything about placing 3D models in the HUD. Does anyone have/know of where there is some information on this?
I haven't been able to find anything about placing 3D models in the HUD. Does anyone have/know of where there is some information on this?
#2
09/04/2003 (7:00 pm)
Does their compass use a 3D Model? All of the ones that I've looked at have been 2d images.
#3
09/05/2003 (11:30 am)
Got it. GuiObjectView was the key to getting it on the screen.
#4
If you do get this to work ... can you post it as a resource? I know a lot of people would learn from it. I know I would. ;)
Just a thought.
Alex
09/07/2003 (7:18 pm)
Niel,If you do get this to work ... can you post it as a resource? I know a lot of people would learn from it. I know I would. ;)
Just a thought.
Alex
#5
09/07/2003 (9:05 pm)
I was actually planning on it. I've just cobbled together the information needed for the math and how to find objects in C++, so tomorrow I'm going to try to get everything to work together.
Torque Owner Alex \"bathala\" Rufon
If I am to put that into my game, I would start by looking into Compass Codes available in the Resource sections. I would also look into the scripting language documentation on how to do matrix math. Because you can actually find out your players current position and calculate your vector in relation to your checkpoint.
Also, I found a very good compass code in Tork Diggers site. Just look into thier downloads.
Hope this gets you started.
Alex