Hi,

I wanted to suggest an alternate mode for c_trace, activated by flag, that could return the distance of the trace if nothing was hit (the old trace behavior).

An example where this would be useful would be a gravity script, where you trace below the object. Tracing -5000 below the object with USE_BOX set eats up a lot more resources than a trace of say -50. (-5000 is the value I most see used in examples for gravity).

So if I am tracing -50 below the entities location, and nothing is hit, than the result would be 50, not 0.

Thanks.

Last edited by Rich; 07/23/08 12:16.

A8 com / A7 free