Game Development Community

Godview crosshair

by Timothy Castagna · in Torque Game Engine Advanced · 08/18/2008 (10:52 am) · 7 replies

Hey All,
so i integrated the advanced camera resource and have my view set to god view. i also ported and implemented the 3rd person crosshair resource. the crosshair does a raycast and draws a bitmap onto whatever object its on. only problem is it doenst work very nice with the god view. So i was wondering if anyone know how to set up a crosshair like this www.youtube.com/watch?v=wA2sxPqK_wg

thanks in advanced.

- Tim

#1
08/19/2008 (12:13 am)
Hmm...


Could this have been done the other way around... Like simply replacing the standard mouse cursors with a crosshair and then doing the raycast to determine the aimpoint for the model? Anyway, it looks quite nice!
#2
08/19/2008 (6:13 am)
If you use the cursor u loose the mouse movement...i will play around with your idea though.
#3
08/20/2008 (12:12 pm)
Well, im a bit closer today..i got the mouse look working while the cursor is visible. Now the problem that lies ahead is making the player aim where the mouse pointer is located.

As it is right now when you move the mouse it only makes the player look based on his FOV which is 90%.
If anyone has any idea how to make the player look at the mouse cursor that'd be great. if not i'll keep you posted on how its coming.
#4
08/25/2008 (9:17 am)
Its not my video and i havnt gotten as far as this guy has either. still working on it
#5
08/25/2008 (10:39 am)
I've gotten as far as making the crosshair "float" around now i need to work the player movement into it.
#6
07/03/2009 (1:44 am)
hi, you do it?
#7
10/11/2009 (11:21 pm)
@timothy, can you share your advances with the Godview crosshair?, i need this, and maybe your code can be a startup point...