Garry's Mod Wiki

Revision Difference

util.TraceEntityHull#562803

<function name="TraceEntityHull" parent="util" type="libraryfunc"> <description> Identical to <page>util.TraceHull</page> but uses an entity for `mins`/`maxs` inputs. Identical to <page>util.TraceHull</page> but uses an entity's AABB (alis-aligned bounding box) for `mins`/`maxs` inputs. (These 2 keys will be ignored in the provided table) </description> <realm>Shared</realm> <args> <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>