Game Development Community

Draw a simple line in TGE

by Dasca · in General Discussion · 01/09/2006 (9:44 am) · 3 replies

After 2 hours of research on the forum I didn't found a simple, I hope, method to draw a line in the 3D world.

What I need is just draw a line from my tank (coordinate:x,y,z ) to fixed point (just to say: 0,0,0).

It's so difficult?

It's possible make it from script or it should be done in the engine?

If it's possible from the script where do you think I've to put the code?

please please help me...

I'm trying to learn Torque but it's very difficult at the beginning...

Thanks

#1
01/09/2006 (10:46 am)
I did that, I put it in the engine. It is just another OpenGL call in the renderobject function of the object you want the line drawn with. You'll need to know a little bit of OpenGL, gamedev.net has some good sources.

I'd post a little more helpful information but this isn't a TGE Private Forum.
#2
01/09/2006 (3:13 pm)
Hi August,

thanks for your reply... I will check in the TGE Private Forum

cheers
#3
01/10/2006 (6:04 am)
August, could please let me know when and where do you post the solution to my problem?

Thanks

Dasca