Game Development Community

Crosshair

by Vladimir Kavoun · in Torque Game Engine · 05/31/2007 (3:16 pm) · 1 replies

This is a follow up on my previous post. I am making a crosshair that runs from the eyes of the model along a direction vector. My current issue is that i wish to render an object at that location or render a line between the eyes and that point, but OpenGL line drawing doesnt seem to work, i compared my code with code from dgl and world editors and such but nothing makes the line appear. i posted my code.

#1
06/04/2007 (8:25 am)
Check the following resource.

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=8006

This resource implements beam lasers in a way that is consistent with the effect you're looking for.