Garry's Mod Wiki
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.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...