native trace_forward(const Float:start, const Float:angle, Float:give, ignoreEnt, &Float:hitX, &Float:hitY, &Float:shortestDistance, &Float:shortestDistLow, &Float:shortestDistHigh);
Trace line direction
Units that a trace line can be longer than the shortest trace line to still be considered hitting the same obstacle
Entity index that traces will ignore, -1 if traces should not ignore any entities
Variable to store X axis value of shortest trace line endpoint in
Variable to store Y axis value of shortest trace line endpoint in
Variable to store length of shortest trace line in
Variable to store Z axis offset of shortest trace line in
Variable to store Z axis offset of highest trace line that satisfies "give" condition in
- Attempts to describe an obstacle by firing trace lines in a specified direction, offset on the z-axis around an origin.
- To fully understand the nuances of the algorithm it is necessary to view its source code located in engine.cpp of the engine module.
- Эта функция ничего не возвращает.