ents.FindAlongRay

From Garry's Mod
Jump to: navigation, search
 ents.FindAlongRay( )

Contents

Description

Returns a table of all entities along the ray. The ray does not stop on collisions, meaning it will go through walls/entities.

Arguments

Vector start

The start position of the ray

Arguments

Vector end

The end position of the ray

Arguments

Vector mins=nil

The mins corner of the ray

Arguments

Vector maxs=nil

The maxs corner of the ray

Returns

table

Table of the found entities.
Personal tools
Navigation