Garry's Mod Wiki

Revision Difference

util.TraceEntityHull#550130

<function name="TraceEntityHull" parent="util" type="libraryfunc"> <description> <deprecated>This function is broken and returns the same values all the time</deprecated>⤶ Traces from one entity to another.⤶ Identical to <page>util.TraceHull</page> but uses an entity for `mins`/`maxs` inputs.⤶ </description> <realm>Shared</realm> <args> <arg name="ent1" type="Entity">The first entity to trace from</arg>⤶ <arg name="ent2" type="Entity">The second entity to trace to</arg>⤶ <arg name="tracedata" type="table">Trace data. See <page>Structures/Trace</page></arg>⤶ <arg name="ent" type="Entity">The entity to use mins/maxs of for the hull trace.</arg>⤶ </args> <rets> <ret name="" type="table">Trace result. See <page>Structures/TraceResult</page></ret> </rets> </function>