trace_normal

Синтаксис

native trace_normal(iIgnoreEnt, const Float:fStart[3], const Float:fEnd[3], Float:vReturn[3]);

Употреба

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