Garry's Mod Wiki

Revision Difference

util.QuickTrace#512298

<function name="QuickTrace" parent="util" type="libraryfunc">⤶ <description>Performs a trace with the given origin, direction and filter.</description>⤶ <realm>Shared and Menu</realm>⤶ <file line="55-65">lua/includes/extensions/util.lua</file>⤶ <args>⤶ <arg name="origin" type="Vector">The origin of the trace.</arg>⤶ <arg name="endpos" type="Vector">The end point of the trace, relative to the start.&#xA;This is the direction of the trace times the distance of the trace.</arg>⤶ <arg name="filter" type="Entity" default="nil">Entity which should be ignored by the trace. Can also be a table of entities or a function - see &lt;page&gt;Trace&lt;/page&gt;.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="table">Trace result. See <page>TraceResult</page>.</ret>⤶ </rets>⤶ </function>⤶ ⤶