ScriptEvent:tracePoint

From Mod Wiki

Parameters

vector start -- The start position for this trace.
vector end -- The end position for this trace.
integer mask -- Collision mask to use.
object ignore -- Object to ignore in the check, may be an entity or a client entity.

Result

float

Supported By

sdSysCallThread

Comments

  • You can use saveTrace to save the results of this trace.

Functionality

Performs a fast point trace through the world, and returns the fraction of the trace which passed.