Garry's Mod Wiki

util.TraceEntityHull

  table util.TraceEntityHull( table tracedata, Entity ent )

Description

Identical to util.TraceHull but uses an entity for mins/maxs inputs.

Arguments

1 table tracedata
Trace data. See Trace structure
2 Entity ent
The entity to use mins/maxs of for the hull trace.

Returns

1 table
Trace result. See TraceResult structure