Garry's Mod Wiki

util.QuickTrace

table util.QuickTrace( Vector origin, Vector endpos, Entity filter = nil )

Description

Performs a trace with the given origin, direction and filter.

Arguments

1 Vector origin
The origin of the trace.
2 Vector endpos
The end point of the trace, relative to the start. This is the direction of the trace times the distance of the trace.
3 Entity filter = nil
Entity which should be ignored by the trace. Can also be a table of entities or a function - see Structures/Trace.

Returns

1 table
Trace result. See Structures/TraceResult.

Page Links


Special Pages


Wikis

?

Render Time: 67ms

DB GetPage 4
Generate Html 12
SaveChanges (1) 37
Render Body 0
Render Sidebar 12