ScriptEvent:trace
From Mod Wiki
Parameters
vector start -- The start position for the trace. vector end -- The end position for the trace. vector mins -- The mins of the bounds. vector maxs -- The maxs of the bounds integer mask -- Collision mask to use. object ignore -- Object to ignore in the check, may be an entity or a client entity.
Result
Supported By
sdSysCallThread
Comments
- If both the mins and maxs are empty, an optimized point trace will be used.
- You can use saveTrace to save the results of this trace.
Functionality
Traces the given bounds through the world, and returns the fraction of the trace which passed.