OpenArena Message Boards

id Tech 3 => Engine => Topic started by: Tungsten on March 20, 2018, 08:23:48 AM



Title: How does AAS_Trace work?
Post by: Tungsten on March 20, 2018, 08:23:48 AM
Hey all, I've been pawing through the engine code, and throughout the AAS especially, lines are being traced.
I found the code for AAS_Trace, but it just calls another method, and I don't know where that is or what it does. Can anyone help me?
Here's the code.

bsp_trace_t AAS_Trace(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int passent, int contentmask)
{
   bsp_trace_t bsptrace;
   botimport.Trace(&bsptrace, start, mins, maxs, end, passent, contentmask);
   return bsptrace;
} //end of the function AAS_Trace