Hi,
I am having a problem with drawline and c_trace.
I am c_tracing:
//--------
CODE: Start
//--------
...
obstacle_distance = c_trace (actorEntity, vector(temprange,0,0), IGNORE_ME + USE_BOX);
// and trying to draw a line to see the trace (was suspicious that trace was working - probably due to me)
draw_line3d(vec_for_vertex(vLine,my,57),NULL,100); // start from vertex position
draw_line3d(vec_for_vertex(vLine,my,57),vector(255,255,255),100); // start drawing
draw_line3d(vec_normalize(vLine,temprange),vector(255,255,255),100); // draw the line : length = range.
...
//--------
CODE: End
//--------
this is the result i get:
LINK: - to screenshot.
http://pararealist.pa.funpic.de/squint.jpgcan anyone help ? - I may be doing something wrong ?
Thanks