public static RecursiveHullCheck ( |
||
hull | ||
num | int | |
p1f | float | |
p2f | float | |
p1 | Vector3 | |
p2 | Vector3 | |
trace | ||
return | bool |
static void TraceLine(ref Vector3 start, ref Vector3 end, out Vector3 impact) { trace_t trace = new trace_t(); Server.RecursiveHullCheck(Client.Cl.worldmodel.hulls[0], 0, 0, 1, ref start, ref end, trace); impact = trace.endpos; // VectorCopy(trace.endpos, impact); }