ents.FindAlongRay
Description
Returns a table of all entities along the ray. The ray does not stop on collisions, meaning it will go through walls/entities.
This function is capable of detecting clientside only entities by default.
This internally uses spatial partitioning to avoid looping through all entities.
Arguments
Returns
Example
Example usage of this function, as a "trace" of sorts.