util.TraceEntity
Description
Runs a trace using the entity's collisionmodel between two points. This does not take the entity's angles into account and will trace its unrotated collisionmodel.
Arguments
Returns
Example
From sandbox/gamemode/prop_tools.lua, this checks if there are any entities inside our entity