Starts up a new trace ray using a global trace result and a customized trace ray filter.
Calling TR_Trace*Filter or TR_Trace*FilterEx from inside a filter function is currently not allowed and may not work.
void TR_TraceRayFilter(const float pos, const float vec, int flags, RayType rtype, TraceEntityFilter filter, any data)
Starting position of the ray.
Depending on RayType, it will be used as the ending point, or the direction angle.
Method to calculate the ray direction.
Function to use as a filter.
Arbitrary data value to pass through to the filter function.