trace_normal
native trace_normal(iIgnoreEnt, const Float:fStart[3], const Float:fEnd[3], Float:vReturn[3]);
| Parameter |
Description |
| iIgnoreEnt | Entity index that trace will ignore, -1 if trace should
not ignore any entities |
| fStart | Trace starting point |
| fEnd | Trace target point |
| vReturn | Vector to copy trace normal to |
Fires a trace line between two origins, retrieving the trace normal.
This native writes to the global engine module trace handle. Additional
trace results can be retrieved using traceresult().
1 if a normal is available (trace hit something), 0
otherwise