HullTrace
Description
Table used by util.TraceHull.
Parameters
start [Vector]
The start position of the trace
endpos [Vector]
The end position of the trace
maxs [Vector]
The 3D vector local to the start/endpos with the highest values. This will represent the corner with the upper bounds of the box.
mins [Vector]
The 3D vector local to the start/endpos with the lowest (often negative) values. This will represent the corner with the lower bounds of the box.
filter [Entity]
Things the trace should not hit. Can also be a table of entities or a function with one argument:
- Entity ent - The entity that the trace hit
Using a function here is super slow. Try to avoid it.
Default:
{}
mask [number]
The trace mask Enums/MASK. This determines what the trace should hit and what it shouldn't hit.
Default:
MASK_SOLID
collisiongroup [number]
The collision group Enums/COLLISION_GROUP. This determines what the trace should hit in regards to the entity's collision group.
Default:
COLLISION_GROUP_NONE
ignoreworld [boolean]
Should the trace ignore world or not.
Default:
false
output [table]
If set, the trace result will be written to the supplied table instead of returning a new table
Default:
nil