Game Development Community

Drawing lines

by Ivan Mandzhukov · in Torque 3D Professional · 01/12/2011 (11:39 am) · 2 replies

Hey guys,how do you draw lines from TorqueScript ?
I'm using T3D 1.0 and EditTSCtrl,DebugDrawer
It seems my staff is executed,but no rendering at all.
I'm just amazed how such trivial things does not seem to function.

#1
01/12/2011 (1:15 pm)
I got them working,uncommenting
//#define ENABLE_DEBUGDRAW
in debugDraw.h
#2
01/12/2011 (3:18 pm)
In stock Beta3 debugDraw is enabled for all but shipping builds.
#ifndef TORQUE_SHIPPING
#define ENABLE_DEBUGDRAW
#endif